PageSize constructor
PageSize(paper_size_format)
Initializes a new instance of this class that can be used to set page size for the generated images.
def __init__(self, paper_size_format):
...
Parameter | Type | Description |
---|---|---|
paper_size_format | PaperSizeFormat | Can be PaperSizeFormat. |
PageSize(width, height)
Initializes a new instance of this class that can be used to set page size for the generated images.
def __init__(self, width, height):
...
Parameter | Type | Description |
---|---|---|
width | float | Page width in points for the the generated images. |
height | float | Page height in points for the the generated images. |
See Also
- module aspose.diagram.saving
- class PageSize