Size constructor
init(self, width=0, height=0)
Creates a size with the specified width and height. Float values are truncated to integers.
def __init__(self, width=0, height=0):
...
| Parameter | Type | Description |
|---|---|---|
| width | int | The width component of the new size. |
| height | int | The height component of the new size. |
Exceptions
| Exception | Description |
|---|---|
| TypeError | A component is not a number. |
See Also
- class
Size - module
aspose.slides - library
Aspose.Slides