
## PageSize class

Contains information about page size for the generated images.



The PageSize type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [PageSize(paper_size_format)](/diagram/python-net/aspose.diagram.saving/pagesize/__init__/#PaperSizeFormat) | Initializes a new instance of this class that can be used to set page size for the generated images. |
| [PageSize(width, height)](/diagram/python-net/aspose.diagram.saving/pagesize/__init__/#float-float) | Initializes a new instance of this class that can be used to set page size for the generated images. |


### Properties
| Property | Description |
| :- | :- |
| [width](/diagram/python-net/aspose.diagram.saving/pagesize/width) | Gets or sets the page width in points for the the generated images. |
| [height](/diagram/python-net/aspose.diagram.saving/pagesize/height) | Gets or sets the page height in points for the the generated images. |
| [paper_size_format](/diagram/python-net/aspose.diagram.saving/pagesize/paper_size_format) | Gets or sets the paper size format for the generated images.<br/>Can be [PaperSizeFormat](/diagram/python-net/aspose.diagram.saving/papersizeformat). |


### See Also

* module [aspose.diagram.saving](../)
