This documentation is archived and is not being maintained.

XpsDocument Members

Provides a Package that holds the content of an XPS document.

The XpsDocument type exposes the following members.

Public method XpsDocument Overloaded. Initializes a new instance of the XpsDocument class.

Public method AddFixedDocumentSequence Adds a root FixedDocumentSequence to the package and returns a writer.
Public method AddThumbnail Adds a thumbnail image to the package.
Public method Close Closes the XPS document Package.
Public method Static member CreateXpsDocumentWriter Creates an XpsDocumentWriter for writing an XpsDocument.
Protected method Dispose Releases the unmanaged resources that are used by the XpsDocument and optionally, releases the managed resources.
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 GetFixedDocumentSequence Returns the fixed-document sequence at the root of the package.
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 RemoveSignature Deletes a signature from the package.
Public method SignDigitally Overloaded. Signs a collection of package parts by using a specified X.509 certificate.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property CoreDocumentProperties Gets the core PackageProperties of the XPS document.
Public property FixedDocumentSequenceReader Gets an IXpsFixedDocumentSequenceReader for reading the document.
Public property IsReader Gets a value that indicates whether the package is readable.
Public property IsSignable Gets a value that indicates whether the package can be digitally signed.
Public property IsWriter Gets a value that indicates whether the package is writable.
Public property Signatures Gets a collection of XML Paper Specification (XPS) signatures that are associated with the package.
Public property Thumbnail Gets or sets the XML Paper Specification (XPS) thumbnail image that is associated with the document.
Public property Uri Gets or sets the uniform resource identifier (URI) of the part. (Inherited from XpsPartBase.)

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. Use the type-safe Dispose method instead.