ערוך

שתף באמצעות


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
XpsPackagingPolicy

Constructors

XpsPackagingPolicy(XpsDocument)

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

XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder)

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

Properties

CurrentFixedDocumentUri

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

CurrentFixedPageUri

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

Methods

AcquireResourceStreamForXpsColorContext(String)

Acquires the resource stream for a specified XpsColorContext.

AcquireResourceStreamForXpsFont()

Acquires the XpsResourceStream for the current XpsFont.

AcquireResourceStreamForXpsFont(String)

Acquires the XpsResourceStream for a specified XpsFont.

AcquireResourceStreamForXpsImage(String)

Acquires the resource stream for a specified XpsImage.

AcquireResourceStreamForXpsResourceDictionary(String)

Acquires the resource stream for a specified XpsResourceDictionary.

AcquireStreamForLinkTargets()

Returns a list of LinkTargets for the current page content.

AcquireXmlWriterForFixedDocument()

Acquires the XmlWriter for the current FixedDocument.

AcquireXmlWriterForFixedDocumentSequence()

Acquires the XmlWriter for the current FixedDocumentSequence.

AcquireXmlWriterForFixedPage()

Acquires the XmlWriter for the current FixedPage.

AcquireXmlWriterForPage()

Acquires the XmlWriter for the current page.

AcquireXmlWriterForResourceDictionary()

Acquires the XmlWriter for the current XpsResourceDictionary.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PersistPrintTicket(PrintTicket)

Stores a specified PrintTicket as part of the XpsDocument.

PreCommitCurrentPage()

Prepares to commit the current page to the output store.

RelateResourceToCurrentPage(Uri, String)

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

RelateRestrictedFontToCurrentDocument(Uri)

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

ReleaseResourceStreamForXpsColorContext()

Releases the XpsResourceStream for the current XpsColorContext.

ReleaseResourceStreamForXpsFont()

Releases the XpsResourceStream for the current XpsFont.

ReleaseResourceStreamForXpsFont(String)

Releases the XpsResourceStream for a specified XpsFont.

ReleaseResourceStreamForXpsImage()

Releases the XpsResourceStream for the current XpsImage.

ReleaseResourceStreamForXpsResourceDictionary()

Releases the XpsResourceStream for the current XpsResourceDictionary.

ReleaseXmlWriterForFixedDocument()

Releases the XmlWriter for the current FixedDocument.

ReleaseXmlWriterForFixedDocumentSequence()

Releases the XmlWriter for the current FixedDocumentSequence.

ReleaseXmlWriterForFixedPage()

Releases the XmlWriter for the current FixedPage.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

PackagingProgressEvent

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

Explicit Interface Implementations

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