Size

Overview

Size is a class in Aspose.Slides FOSS for Python.

Represents a 2D size with integer dimensions, equivalent to System.Drawing.Size.

This class declares 3 methods for Size objects in Python programs. Available methods include: __eq__, __init__, __repr__. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: height, width.

Properties

NameTypeAccessDescription
width``ReadGets the width.
height``ReadGets the height.

Methods

SignatureDescription
__init__(width: int, height: int)Calls init(width, height) on this Size instance.
__repr__() → strCalls repr on this Size instance.
__eq__(other) → boolCalls eq(other) on this Size instance.

See Also

 English