XpsPackagingPolicy Class

XpsPackagingPolicy Class

 

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

Namespace:   System.Windows.Xps.Serialization
Assembly:  ReachFramework (in ReachFramework.dll)

System.Object
  System.Windows.Xps.Serialization.BasePackagingPolicy
    System.Windows.Xps.Serialization.XpsPackagingPolicy

Public Class XpsPackagingPolicy
	Inherits BasePackagingPolicy

NameDescription
System_CAPS_pubmethodXpsPackagingPolicy(XpsDocument)

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

System_CAPS_pubmethodXpsPackagingPolicy(XpsDocument, PackageInterleavingOrder)

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

NameDescription
System_CAPS_pubpropertyCurrentFixedDocumentUri

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

System_CAPS_pubpropertyCurrentFixedPageUri

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

NameDescription
System_CAPS_pubmethodAcquireResourceStreamForXpsColorContext(String)

Acquires the resource stream for a specified XpsColorContext.(Overrides BasePackagingPolicy.AcquireResourceStreamForXpsColorContext(String).)

System_CAPS_pubmethodAcquireResourceStreamForXpsFont()
System_CAPS_pubmethodAcquireResourceStreamForXpsFont(String)
System_CAPS_pubmethodAcquireResourceStreamForXpsImage(String)

Acquires the resource stream for a specified XpsImage.(Overrides BasePackagingPolicy.AcquireResourceStreamForXpsImage(String).)

System_CAPS_pubmethodAcquireResourceStreamForXpsResourceDictionary(String)
System_CAPS_pubmethodAcquireStreamForLinkTargets()

Returns a list of LinkTargets for the current page content.(Overrides BasePackagingPolicy.AcquireStreamForLinkTargets().)

System_CAPS_pubmethodAcquireXmlWriterForFixedDocument()
System_CAPS_pubmethodAcquireXmlWriterForFixedDocumentSequence()
System_CAPS_pubmethodAcquireXmlWriterForFixedPage()
System_CAPS_pubmethodAcquireXmlWriterForPage()

Acquires the XmlWriter for the current page.(Overrides BasePackagingPolicy.AcquireXmlWriterForPage().)

System_CAPS_pubmethodAcquireXmlWriterForResourceDictionary()
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodPersistPrintTicket(PrintTicket)

Stores a specified PrintTicket as part of the XpsDocument.(Overrides BasePackagingPolicy.PersistPrintTicket(PrintTicket).)

System_CAPS_pubmethodPreCommitCurrentPage()

Prepares to commit the current page to the output store.(Overrides BasePackagingPolicy.PreCommitCurrentPage().)

System_CAPS_pubmethodRelateResourceToCurrentPage(Uri, String)

Adds a PackageRelationship with a specified name that associates a specified resource with the current page.(Overrides BasePackagingPolicy.RelateResourceToCurrentPage(Uri, String).)

System_CAPS_pubmethodRelateRestrictedFontToCurrentDocument(Uri)

Adds a PackageRelationship that associates a restricted font with the current document.(Overrides BasePackagingPolicy.RelateRestrictedFontToCurrentDocument(Uri).)

System_CAPS_pubmethodReleaseResourceStreamForXpsColorContext()
System_CAPS_pubmethodReleaseResourceStreamForXpsFont()
System_CAPS_pubmethodReleaseResourceStreamForXpsFont(String)
System_CAPS_pubmethodReleaseResourceStreamForXpsImage()
System_CAPS_pubmethodReleaseResourceStreamForXpsResourceDictionary()
System_CAPS_pubmethodReleaseXmlWriterForFixedDocument()
System_CAPS_pubmethodReleaseXmlWriterForFixedDocumentSequence()
System_CAPS_pubmethodReleaseXmlWriterForFixedPage()
System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from BasePackagingPolicy.)

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft