Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BasePackagingPolicy Class

Defines the base class for XPS package serialization policies. This class is abstract.

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

Namespace:  System.Windows.Xps.Serialization
Assembly:  ReachFramework (in ReachFramework.dll)
[<AbstractClass>]
type BasePackagingPolicy =  
    class 
        interface IDisposable 
    end

The BasePackagingPolicy type exposes the following members.

  NameDescription
Protected methodBasePackagingPolicyWhen overridden in a derived class, initializes a new instance of the BasePackagingPolicy class.
Top
  NameDescription
Public propertyCurrentFixedDocumentUriWhen overridden in a derived class, gets the uniform resource identifier (URI) of the fixed document that is processing.
Public propertyCurrentFixedPageUriWhen overridden in a derived class, gets the uniform resource identifier (URI) of the fixed page that is processing.
Top
  NameDescription
Public methodAcquireResourceStreamForXpsColorContextWhen overridden in a derived class, acquires a resource stream for an XpsColorContext object.
Public methodAcquireResourceStreamForXpsFont()When overridden in a derived class, acquires a resource stream for an XpsFont object.
Public methodAcquireResourceStreamForXpsFont(String)When overridden in a derived class, acquires an XpsResourceStream for an XpsFont with a specified resource ID.
Public methodAcquireResourceStreamForXpsImageWhen overridden in a derived class, acquires a resource stream for an XpsImage object.
Public methodAcquireResourceStreamForXpsResourceDictionaryWhen overridden in a derived class, acquires a resource stream for an XpsResourceDictionary object.
Public methodAcquireStreamForLinkTargetsWhen overridden in a derived class, gets a list of strings, each expressing a LinkTarget element.
Public methodAcquireXmlWriterForFixedDocumentWhen overridden in a derived class, returns an XmlWriter for a FixedDocument.
Public methodAcquireXmlWriterForFixedDocumentSequenceWhen overridden in a derived class, returns an XmlWriter for a FixedDocumentSequence.
Public methodAcquireXmlWriterForFixedPageWhen overridden in a derived class, returns an XmlWriter for a FixedPage.
Public methodAcquireXmlWriterForPageWhen overridden in a derived class, returns an XmlWriter for the current page.
Public methodAcquireXmlWriterForResourceDictionaryWhen overridden in a derived class, returns an XmlWriter for an XpsResourceDictionary.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPersistPrintTicketWhen overridden in a derived class, writes a print ticket to a package or to a part of the package.
Public methodPreCommitCurrentPageWhen overridden in a derived class, performs any required maintenance tasks before the page is committed, for example, flushes streams.
Public methodRelateResourceToCurrentPageWhen overridden in a derived class, adds a relationship from the current page to some internal or external resource.
Public methodRelateRestrictedFontToCurrentDocumentWhen overridden in a derived class, adds a relationship from the current page to a font.
Public methodReleaseResourceStreamForXpsColorContextWhen overridden in a derived class, releases the XpsResourceStream for the current XpsColorContext object.
Public methodReleaseResourceStreamForXpsFont()When overridden in a derived class, releases the XpsResourceStream for the current XpsResourceDictionary object.
Public methodReleaseResourceStreamForXpsFont(String)When overridden in a derived class, releases the XpsResourceStream for the current XpsResourceDictionary object.
Public methodReleaseResourceStreamForXpsImageWhen overridden in a derived class, releases the XpsResourceStream for the current XpsImage object.
Public methodReleaseResourceStreamForXpsResourceDictionaryWhen overridden in a derived class, releases the XpsResourceStream for the current XpsResourceDictionary object.
Public methodReleaseXmlWriterForFixedDocumentWhen overridden in a derived class, releases the XmlWriter for the current FixedDocument.
Public methodReleaseXmlWriterForFixedDocumentSequenceWhen overridden in a derived class, releases the XmlWriter for the current FixedDocumentSequence.
Public methodReleaseXmlWriterForFixedPageWhen overridden in a derived class, releases the XmlWriter for the current FixedPage.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeThis member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Top

Packaging policy classes provide methods for acquiring serialization readers and writers for different types of parts in an XpsDocument.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.