Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
File Formats: Open XML Paper Specification Format (XPS)

The Microsoft Open XML Paper Specification format is a new electronic document format supported natively by Office 2007 and Windows VISTA. Previous versions of Windows were based on the GDI interface. 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.

For more information on XPS, refer to http://www.microsoft.com/whdc/xps/default.mspx

File constants associated with this file format are:

WIC Codec CLSID

WIC Codec Subformat

RasterImageViewer.Save
File Constant
Read Support Write Support Description
CLSID_WICLeadXpsEncoder WICLeadSubFormatXps Xps 24 BPP

1,4,8,24 and 32

Raster XPS file with images saved as PNG.
CLSID_WICLeadXpsEncoder WICLeadSubFormatXpsJpeg XpsJpeg

N/A*

8 BPP (Grayscale)
24 BPP

Raster XPS with JPEG 4:4:4 Compression.
CLSID_WICLeadXpsEncoder WICLeadSubFormatXpsJpeg422 XpsJpeg422

N/A*

24 BPP

Raster XPS with JPEG 4:2:2 Compression.
CLSID_WICLeadXpsEncoder WICLeadSubFormatXpsJpeg411 XpsJpeg411

N/A*

24 BPP

Raster XPS with JPEG 4:1:1 Compression.

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.

* 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.