XpsPackagingPolicy XpsPackagingPolicy XpsPackagingPolicy XpsPackagingPolicy Class

Definition

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

public ref class XpsPackagingPolicy : System::Windows::Xps::Serialization::BasePackagingPolicy
public class XpsPackagingPolicy : System.Windows.Xps.Serialization.BasePackagingPolicy
type XpsPackagingPolicy = class
    inherit BasePackagingPolicy
Public Class XpsPackagingPolicy
Inherits BasePackagingPolicy
Inheritance
XpsPackagingPolicyXpsPackagingPolicyXpsPackagingPolicyXpsPackagingPolicy

Constructors

XpsPackagingPolicy(XpsDocument) XpsPackagingPolicy(XpsDocument) XpsPackagingPolicy(XpsDocument) XpsPackagingPolicy(XpsDocument)

Initializes a new instance of the XpsPackagingPolicy class for a specified XpsDocument.

XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder) XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder) XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder) XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder)

Initializes a new instance of the XpsPackagingPolicy class with a specified XpsDocument and specified interleave order.

Properties

CurrentFixedDocumentUri CurrentFixedDocumentUri CurrentFixedDocumentUri CurrentFixedDocumentUri

Gets the uniform resource identifier (URI) of the current fixed document.

CurrentFixedPageUri CurrentFixedPageUri CurrentFixedPageUri CurrentFixedPageUri

Gets the uniform resource identifier (URI) of the current fixed page.

Methods

AcquireResourceStreamForXpsColorContext(String) AcquireResourceStreamForXpsColorContext(String) AcquireResourceStreamForXpsColorContext(String) AcquireResourceStreamForXpsColorContext(String)

Acquires the resource stream for a specified XpsColorContext.

AcquireResourceStreamForXpsFont() AcquireResourceStreamForXpsFont() AcquireResourceStreamForXpsFont() AcquireResourceStreamForXpsFont()

Acquires the XpsResourceStream for the current XpsFont.

AcquireResourceStreamForXpsFont(String) AcquireResourceStreamForXpsFont(String) AcquireResourceStreamForXpsFont(String) AcquireResourceStreamForXpsFont(String)

Acquires the XpsResourceStream for a specified XpsFont.

AcquireResourceStreamForXpsImage(String) AcquireResourceStreamForXpsImage(String) AcquireResourceStreamForXpsImage(String) AcquireResourceStreamForXpsImage(String)

Acquires the resource stream for a specified XpsImage.

AcquireResourceStreamForXpsResourceDictionary(String) AcquireResourceStreamForXpsResourceDictionary(String) AcquireResourceStreamForXpsResourceDictionary(String) AcquireResourceStreamForXpsResourceDictionary(String)

Acquires the resource stream for a specified XpsResourceDictionary.

AcquireStreamForLinkTargets() AcquireStreamForLinkTargets() AcquireStreamForLinkTargets() AcquireStreamForLinkTargets()

Returns a list of LinkTargets for the current page content.

AcquireXmlWriterForFixedDocument() AcquireXmlWriterForFixedDocument() AcquireXmlWriterForFixedDocument() AcquireXmlWriterForFixedDocument()

Acquires the XmlWriter for the current FixedDocument.

AcquireXmlWriterForFixedDocumentSequence() AcquireXmlWriterForFixedDocumentSequence() AcquireXmlWriterForFixedDocumentSequence() AcquireXmlWriterForFixedDocumentSequence()

Acquires the XmlWriter for the current FixedDocumentSequence.

AcquireXmlWriterForFixedPage() AcquireXmlWriterForFixedPage() AcquireXmlWriterForFixedPage() AcquireXmlWriterForFixedPage()

Acquires the XmlWriter for the current FixedPage.

AcquireXmlWriterForPage() AcquireXmlWriterForPage() AcquireXmlWriterForPage() AcquireXmlWriterForPage()

Acquires the XmlWriter for the current page.

AcquireXmlWriterForResourceDictionary() AcquireXmlWriterForResourceDictionary() AcquireXmlWriterForResourceDictionary() AcquireXmlWriterForResourceDictionary()

Acquires the XmlWriter for the current XpsResourceDictionary.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PersistPrintTicket(PrintTicket) PersistPrintTicket(PrintTicket) PersistPrintTicket(PrintTicket) PersistPrintTicket(PrintTicket)

Stores a specified PrintTicket as part of the XpsDocument.

PreCommitCurrentPage() PreCommitCurrentPage() PreCommitCurrentPage() PreCommitCurrentPage()

Prepares to commit the current page to the output store.

RelateResourceToCurrentPage(Uri, String) RelateResourceToCurrentPage(Uri, String) RelateResourceToCurrentPage(Uri, String) RelateResourceToCurrentPage(Uri, String)

Adds a PackageRelationship with a specified name that associates a specified resource with the current page.

RelateRestrictedFontToCurrentDocument(Uri) RelateRestrictedFontToCurrentDocument(Uri) RelateRestrictedFontToCurrentDocument(Uri) RelateRestrictedFontToCurrentDocument(Uri)

Adds a PackageRelationship that associates a restricted font with the current document.

ReleaseResourceStreamForXpsColorContext() ReleaseResourceStreamForXpsColorContext() ReleaseResourceStreamForXpsColorContext() ReleaseResourceStreamForXpsColorContext()

Releases the XpsResourceStream for the current XpsColorContext.

ReleaseResourceStreamForXpsFont() ReleaseResourceStreamForXpsFont() ReleaseResourceStreamForXpsFont() ReleaseResourceStreamForXpsFont()

Releases the XpsResourceStream for the current XpsFont.

ReleaseResourceStreamForXpsFont(String) ReleaseResourceStreamForXpsFont(String) ReleaseResourceStreamForXpsFont(String) ReleaseResourceStreamForXpsFont(String)

Releases the XpsResourceStream for a specified XpsFont.

ReleaseResourceStreamForXpsImage() ReleaseResourceStreamForXpsImage() ReleaseResourceStreamForXpsImage() ReleaseResourceStreamForXpsImage()

Releases the XpsResourceStream for the current XpsImage.

ReleaseResourceStreamForXpsResourceDictionary() ReleaseResourceStreamForXpsResourceDictionary() ReleaseResourceStreamForXpsResourceDictionary() ReleaseResourceStreamForXpsResourceDictionary()

Releases the XpsResourceStream for the current XpsResourceDictionary.

ReleaseXmlWriterForFixedDocument() ReleaseXmlWriterForFixedDocument() ReleaseXmlWriterForFixedDocument() ReleaseXmlWriterForFixedDocument()

Releases the XmlWriter for the current FixedDocument.

ReleaseXmlWriterForFixedDocumentSequence() ReleaseXmlWriterForFixedDocumentSequence() ReleaseXmlWriterForFixedDocumentSequence() ReleaseXmlWriterForFixedDocumentSequence()

Releases the XmlWriter for the current FixedDocumentSequence.

ReleaseXmlWriterForFixedPage() ReleaseXmlWriterForFixedPage() ReleaseXmlWriterForFixedPage() ReleaseXmlWriterForFixedPage()

Releases the XmlWriter for the current FixedPage.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

PackagingProgressEvent PackagingProgressEvent PackagingProgressEvent PackagingProgressEvent

Occurs when a FixedPage, FixedDocument, or FixedDocumentSequence is added to the XpsDocument.

Explicit Interface Implementations

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() 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)

Applies to