XpsDocument constructor
Contents
[
Hide
]init
Creates empty XPS document with default page size.
def __init__(self):
...
init
Opens an existing XPS document located at the path
.
def __init__(self, path):
...
Parameter | Type | Description |
---|---|---|
path | str | Location of the document. |
init
Opens an existing document located at the path
as XPS document.
def __init__(self, path, options):
...
Parameter | Type | Description |
---|---|---|
path | str | Location of the document. |
options | LoadOptions | Document loading options. |
init
Loads an existing document stored in the stream
as XPS document.
def __init__(self, stream, options):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | Document stream. |
options | LoadOptions | Document loading options. |
See Also
- module
aspose.page.xps
- class
XpsDocument