add_document method
add_document
Adds an empty document with default page size.
def add_document(self, activate):
...
| Parameter | Type | Description |
|---|---|---|
| activate | bool | Flag indicating whether to select added document as active. |
add_document
Adds an empty document with the first page dimensions
width and height.
def add_document(self, width, height, activate):
...
| Parameter | Type | Description |
|---|---|---|
| width | float | Width of the first page. |
| height | float | Height of the first page. |
| activate | bool | Flag indicating whether to select added document as active. |
See Also
- module
aspose.page.xps - class
XpsDocument