System.Windows.Xps.Packaging Namespace

Provides types that allow applications to read and write the components of an XPS document.

In addition to the interfaces and the types that represent the major parts of an XML Paper Specification (XPS) document, the System.Windows.Xps.Packaging namespace provides control over the packaging process, including digital signatures and Digital Rights Management (DRM) of XPS documents.

For more information, see the XML Paper Specification (XPS) available for download at http://go.microsoft.com/fwlink/?LinkID=65761.

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

  ClassDescription
Public classPackagingProgressEventArgsProvides data for the PackagingProgressEvent event.
Public classSpotLocationRepresents the location to display a digital signature on an XpsDocument.
Public classXpsColorContextRepresents the color context for a bitmap image.
Public classXpsDigitalSignatureRepresents a digital signature for an XpsDocument.
Public classXpsDocumentProvides a Package that holds the content of an XPS document.
Public classXpsFontRepresents a font in an XpsDocument.
Public classXpsImageRepresents an image in an XpsDocument.
Public classXpsPartBaseDefines the abstract class that is the parent for all part classes that can be contained in an XPS package.
Public classXpsResourceDefines the base class for resources that can be added to an XpsDocument.
Public classXpsResourceDictionaryRepresents a dictionary of XpsResource elements that are usable across pages of the XpsDocument.
Public classXpsSignatureDefinitionRepresents an XpsDocument digital signature.
Public classXpsStructureRepresents the System.Windows.Documents.DocumentStructures or StoryFragments element of an XpsDocument.
Public classXpsThumbnailRepresents a thumbnail image of a document sequence, single document, or single page.

  InterfaceDescription
Public interfaceIDocumentStructureProviderDefines a method for adding the DocumentStructure part of XML Paper Specification (XPS) to an XPS package.
Public interfaceIStoryFragmentProviderDefines a method for adding the StoryFragments part of the markup to an XPS package.
Public interfaceIXpsFixedDocumentReaderDefines methods for reading the parts of a FixedDocument and also for limited types of writing to the document.
Public interfaceIXpsFixedDocumentSequenceReaderDefines methods for reading the parts of a FixedDocumentSequence.
Public interfaceIXpsFixedDocumentSequenceWriterDefines methods and properties for writing a FixedDocumentSequence.
Public interfaceIXpsFixedDocumentWriterDefines methods and properties for writing a FixedDocument.
Public interfaceIXpsFixedPageReaderDefines methods for reading the parts of a FixedPage.
Public interfaceIXpsFixedPageWriterDefines methods for writing FixedPage parts to an XPS document.

  DelegateDescription
Public delegatePackagingProgressEventHandlerRepresents the method that handles the PackagingProgressEvent.

  EnumerationDescription
Public enumerationPackageInterleavingOrderProvides values that specify the order in which the major parts of a package are streamed.
Public enumerationPackagingActionIdentifies the types of events that occur during the serialization of a package.
Public enumerationXpsDigSigPartAlteringRestrictionsSpecifies the parts of the XPS Package that are excluded from the range of a digital signature.
Public enumerationXpsImageTypeSpecifies graphical formats for images that can be included in an XpsDocument.
Public enumerationXpsResourceSharingSpecifies whether resources can be shared between pages and documents in an XpsDocument.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft