Note: XPS and XPSX file formats are supported in the Document/Medical licensing.
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-International.
For more information on XPS, refer to XML Paper Specification: Overview.
Support for this file format is available in Document Imaging and above. For unlocking support, use the RasterSupport.SetLicense() method.
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.
File constants associated with this file format are:
Required DLL: Leadtools.Codecs.Xps.Dll. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
|Constant||Read Support||Write Support||Description|
1,4,8,24 and 32
|Raster XPS file with images saved as PNG.|
8 BPP (Grayscale)
|Raster XPS with JPEG 4:4:4 Compression.|
|Raster XPS with JPEG 4:2:2 Compression.|
|Raster XPS with JPEG 4:1:1 Compression.|
* When you request file information on a XPS file, Xps will always be returned for the file format, regardless of the composition of the XPS file. LEADTOOLS for WPF 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.
Note: This format is supported by the Document/Medical products only.
|Xps||XPS||322||✔||✔||✔||✔||application/vnd.ms-xpsdocument||XPS - Microsoft XML Paper Specification|
|XpsJpeg||XPS||324||✔||✔||✔||✔||application/vnd.ms-xpsdocument||XPS - XML Paper Specification with JPEG (4-4-|
|XpsJpeg411||XPS||326||✔||✔||✔||✔||application/vnd.ms-xpsdocument||XPS - XML Paper Specification with JPEG (4-1-|
|XpsJpeg422||XPS||325||✔||✔||✔||✔||application/vnd.ms-xpsdocument||XPS - XML Paper Specification with JPEG (4-2-|
For a complete list for supported file formats, see Summary of All Supported File Formats.
For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries