insert_document method
Contents
[
Hide
]insert_document
Inserts an empty document with default page size
at index position.
def insert_document(self, index, activate):
...
| Parameter | Type | Description |
|---|---|---|
| index | int | Position at which a document should be inserted. |
| activate | bool | Flag indicating whether to select inserted document as active. |
insert_document
Inserts an empty document with the first page dimensions
width and height at index position.
def insert_document(self, index, width, height, activate):
...
| Parameter | Type | Description |
|---|---|---|
| index | int | Position at which a document should be inserted. |
| width | float | Width of the first page. |
| height | float | Height of the first page. |
| activate | bool | Flag indicating whether to select inserted document as active. |
See Also
- module
aspose.page.xps - class
XpsDocument