save method
save
Saves XPS document to XPS file located at the path.
def save(self, path):
...
| Parameter | Type | Description |
|---|---|---|
| path | str | Location of the document. |
save
Saves XPS document to stream.
def save(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Stream XPS document to be saved into. |
save
Saves the document using the Device instance.
def save(self, device, options):
...
| Parameter | Type | Description |
|---|---|---|
| device | Device | The Device instance. |
| options | SaveOptions | Document saving options. |
See Also
- module
aspose.page.xps - class
Device - class
XpsDocument