set_page_size method
set_page_size
Sets page size. To create pages with different sizes in one document use PsDocument.SetPageDevice method just after this method.
def set_page_size(self, width, height):
...
Parameter | Type | Description |
---|---|---|
width | float | The width of page in resulting PostScript file. |
height | float | The height of page in resulting PostScript file. |
See Also
- module
aspose.page.eps
- class
PsDocument