add_page method
Contents
[
Hide
]add_page
Adds an empty page to the document with default page size.
Returns
Added page.
def add_page(self, activate):
...
Parameter | Type | Description |
---|---|---|
activate | bool | Flag indicating whether to select added page as active. |
add_page
Adds a page to the document.
Returns
Added page.
def add_page(self, page, activate):
...
Parameter | Type | Description |
---|---|---|
page | aspose.page.xps.xpsmodel.XpsPage | Page to be added. |
activate | bool | Flag indicating whether to select added page as active. |
add_page
Adds an empty page to the document with specified
width
and height
.
Returns
Added page.
def add_page(self, width, height, activate):
...
Parameter | Type | Description |
---|---|---|
width | float | Width of a new page. |
height | float | Height of a new page. |
activate | bool | Flag indicating whether to select added page as active. |
See Also
- module
aspose.page.xps
- class
XpsDocument
- class
XpsPage