Browse our Products

Aspose.Page for Python via .NET 25.10 Release Notes

Improvements and Changes

Now saving XPS as image files can be done in 2 lines. Either this:

//Save XPS document as image files in the folder where input XPS file is located with the name of this XPS file with index of page suffix.
document = XpsDocument(xpsFilePath);
document.save_as_image(JpegSaveOption());

or that:

//Save XPS document as image files in the assigned folder and file name template.
//Index of the page will be added as a suffix to file name template and the extension will be obtained from the save options. 
document = XpsDocument(xpsFilePath);
document.save_as_image(PngSaveOption(), outputDir, fileNameTemplate);

KeySummaryCategory

Public API and Backwards Incompatible Changes

Added APIs

Got any Query?

If you have any query related to Aspose.Page for Python API, please feel free to write to reach us on Aspose.Page forum. We’ll be glad to assist you with your inquiries.