This documentation is archived and is not being maintained.

System.Windows.Xps.Serialization Namespace

Provides types that support serialization of XPS documents.

For more information about XPS, see the XML Paper Specification (XPS) available for download at

For a list of XPS related example programs, see the following topics:

Public classBasePackagingPolicyDefines the base class for XPS package serialization policies. This class is abstract.
Public classColorTypeConverterProvides type converters for converting Color objects to and from objects of other types.
Public classFontTypeConverterProvides type converters for converting GlyphRun objects to and from objects of other types.
Public classImageSourceTypeConverterProvides type converters for converting BitmapSource objects to and from objects of other types.
Public classPackageSerializationManagerProvides a base class to manage the serializers and type converters that insert Windows Presentation Foundation (WPF) root objects into an XML Paper Specification (XPS) package.
Public classXpsPackagingPolicyDefines the writer, resource, print ticket, and package relationship settings that are associated with a specified XpsDocument.
Public classXpsResourceStreamRepresents the stream and uniform resource identifier (URI)  of an XML Paper Specification (XPS) resource.
Public classXpsSerializationCompletedEventArgsProvides data for the XpsSerializationCompleted event of an XpsSerializationManagerAsync.
Public classXpsSerializationManagerManages synchronous XML Paper Specification (XPS) serializers and type converters. 
Public classXpsSerializationManagerAsyncManages asynchronous XML Paper Specification (XPS) serializers and type converters.
Public classXpsSerializationPrintTicketRequiredEventArgsProvides data for the XpsSerializationPrintTicketRequired event.
Public classXpsSerializationProgressChangedEventArgsProvides data for the XpsSerializationProgressChanged event.
Public classXpsSerializerFactoryCreates and provides information about XML Paper Specification (XPS) serializers.

Public enumerationFontSubsetterCommitPoliciesSpecifies the granularity at which font glyph subsets are saved in an XPS document.
Public enumerationPrintTicketLevelSpecifies whether a PrintTicket applies to an entire sequence of documents, to just one document, or to just one page.
Public enumerationSerializationStateDo not use.
Public enumerationXpsWritingProgressChangeLevelSpecifies the scope of a writing progress indicator for XML Paper Specification (XPS) content.