The XML Paper Specification format is a new electronic document format supported natively by Microsoft Windows and Office. The XPS format is designed for high-quality printing. The standard for XPS is TC46 - Open XML Paper Specification (XPS), which is produced by Ecma.
This format is one aspect of the new graphics architecture for handling screen display and printing. It provides a safe and secure way to store and share electronic documents.
LEADTOOLS supports the loading and saving of XPS files. LEADTOOLS supports the loading XPS files at different resolutions, depending on the user's preference. The L_GetXPSOptions and L_SetXPSOptions functions allow the programmer to manipulate the resolution for XPS files.
The default extension is: .xps.
LEAD supports version 1.0 of this format.
Support for this file format can be unlocked using the following support constant: L_SUPPORT_DOCUMENT.
Note: If the support for this file format is locked and the user loaded a sample file, then a thumbnail will be loaded showing the image.
The file constants associated with this file format are:
|Constant||Read Support||Write Support||Description|
||24 BPP*||1,4,8,24 and 32 **|| Raster XPS file with images saved as PNG.|
||N/A*||8 BPP (Grayscale) 24 BPP *|| Raster XPS with JPEG 4:4:4 Compression|
||N/A*||24 BPP **|| Raster XPS with JPEG 4:2:2 Compression.|
||N/A*||24 BPP **|| Raster XPS with JPEG 4:1:1 Compression.|
Required DLLs and Libraries
LEADTOOLS supports writing/saving using LEADTOOLS Document Writers. For additional support details, refer to the following:
For more information on the format, refer to https://microsoft.fandom.com/wiki/XML_Paper_Specification.
NOTE: When you request file information on a XPS file, FILE_XPS will always be returned for the file format, regardless of the composition of the XPS file. LEADTOOLS can read XPS documents that are made up of both text and images. The text and images are rasterized into one raster image for each page of the document. LEADTOOLS can write XPS documents that are made up of raster images only.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries