Export (0) Print
Expand All

XpsPackagingPolicy Members

Defines the writer, resource, print ticket, and package relationship settings that are associated with a specified XpsDocument.

The XpsPackagingPolicy type exposes the following members.

  NameDescription
Public method XpsPackagingPolicy Overloaded. Initializes a new instance of the XpsPackagingPolicy class.
Top

  NameDescription
Public method AcquireResourceStreamForXpsColorContext Acquires the resource stream for a specified XpsColorContext. (Overrides BasePackagingPolicy.AcquireResourceStreamForXpsColorContext(String).)
Public method AcquireResourceStreamForXpsFont Overloaded. Acquires the resource stream for an XpsFont.
Public method AcquireResourceStreamForXpsImage Acquires the resource stream for a specified XpsImage. (Overrides BasePackagingPolicy.AcquireResourceStreamForXpsImage(String).)
Public method AcquireResourceStreamForXpsResourceDictionary Acquires the resource stream for a specified XpsResourceDictionary. (Overrides BasePackagingPolicy.AcquireResourceStreamForXpsResourceDictionary(String).)
Public method AcquireStreamForLinkTargets Returns a list of LinkTargets for the current page content. (Overrides BasePackagingPolicy.AcquireStreamForLinkTargets().)
Public method AcquireXmlWriterForFixedDocument Acquires the XmlWriter for the current FixedDocument. (Overrides BasePackagingPolicy.AcquireXmlWriterForFixedDocument().)
Public method AcquireXmlWriterForFixedDocumentSequence Acquires the XmlWriter for the current FixedDocumentSequence. (Overrides BasePackagingPolicy.AcquireXmlWriterForFixedDocumentSequence().)
Public method AcquireXmlWriterForFixedPage Acquires the XmlWriter for the current FixedPage. (Overrides BasePackagingPolicy.AcquireXmlWriterForFixedPage().)
Public method AcquireXmlWriterForPage Acquires the XmlWriter for the current page. (Overrides BasePackagingPolicy.AcquireXmlWriterForPage().)
Public method AcquireXmlWriterForResourceDictionary Acquires the XmlWriter for the current XpsResourceDictionary. (Overrides BasePackagingPolicy.AcquireXmlWriterForResourceDictionary().)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PersistPrintTicket Stores a specified PrintTicket as part of the XpsDocument. (Overrides BasePackagingPolicy.PersistPrintTicket(PrintTicket).)
Public method PreCommitCurrentPage Prepares to commit the current page to the output store. (Overrides BasePackagingPolicy.PreCommitCurrentPage().)
Public method RelateResourceToCurrentPage Adds a PackageRelationship with a specified name that associates a specified resource with the current page. (Overrides BasePackagingPolicy.RelateResourceToCurrentPage(Uri, String).)
Public method RelateRestrictedFontToCurrentDocument Adds a PackageRelationship that associates a restricted font with the current document. (Overrides BasePackagingPolicy.RelateRestrictedFontToCurrentDocument(Uri).)
Public method ReleaseResourceStreamForXpsColorContext Releases the XpsResourceStream for the current XpsColorContext. (Overrides BasePackagingPolicy.ReleaseResourceStreamForXpsColorContext().)
Public method ReleaseResourceStreamForXpsFont Overloaded. Releases the XpsResourceStream for the current XpsFont.
Public method ReleaseResourceStreamForXpsImage Releases the XpsResourceStream for the current XpsImage. (Overrides BasePackagingPolicy.ReleaseResourceStreamForXpsImage().)
Public method ReleaseResourceStreamForXpsResourceDictionary Releases the XpsResourceStream for the current XpsResourceDictionary. (Overrides BasePackagingPolicy.ReleaseResourceStreamForXpsResourceDictionary().)
Public method ReleaseXmlWriterForFixedDocument Releases the XmlWriter for the current FixedDocument. (Overrides BasePackagingPolicy.ReleaseXmlWriterForFixedDocument().)
Public method ReleaseXmlWriterForFixedDocumentSequence Releases the XmlWriter for the current FixedDocumentSequence. (Overrides BasePackagingPolicy.ReleaseXmlWriterForFixedDocumentSequence().)
Public method ReleaseXmlWriterForFixedPage Releases the XmlWriter for the current FixedPage. (Overrides BasePackagingPolicy.ReleaseXmlWriterForFixedPage().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property CurrentFixedDocumentUri Gets the uniform resource identifier (URI) of the current fixed document. (Overrides BasePackagingPolicy.CurrentFixedDocumentUri.)
Public property CurrentFixedPageUri Gets the uniform resource identifier (URI) of the current fixed page. (Overrides BasePackagingPolicy.CurrentFixedPageUri.)
Top

  NameDescription
Public event PackagingProgressEvent Occurs when a FixedPage, FixedDocument, or FixedDocumentSequence is added to the XpsDocument.
Top

  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from BasePackagingPolicy.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft