save_as_pdf method
save_as_pdf
Saves the document in PDF format.
def save_as_pdf(self, out_pdf_file_path, options):
...
Parameter | Type | Description |
---|---|---|
out_pdf_file_path | str | An output PDF file path. |
options | aspose.page.xps.presentation.pdf.PdfSaveOptions | Options for saving the document in PDF format. |
save_as_pdf
Saves the document in PDF format.
def save_as_pdf(self, stream, options):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The stream to write the output PDF file to. |
options | aspose.page.xps.presentation.pdf.PdfSaveOptions | Options for saving the document in PDF format. |
See Also
- module
aspose.page.xps
- class
XpsDocument