XpsResourceDictionary XpsResourceDictionary XpsResourceDictionary XpsResourceDictionary Class


Represents a dictionary of XpsResource elements that are usable across pages of the XpsDocument.

public ref class XpsResourceDictionary : System::Windows::Xps::Packaging::XpsResource
public class XpsResourceDictionary : System.Windows.Xps.Packaging.XpsResource
type XpsResourceDictionary = class
    inherit XpsResource
Public Class XpsResourceDictionary
Inherits XpsResource


This class has no public constructor. Get a reference to an XpsResourceDictionary by using the IXpsFixedPageWriter.AddResourceDictionary method.

For more information about the ResourceDictionary element of an XPS package, see chapter 7 in the XML Paper Specification (XPS) specification, which you can obtain at XPS: Specification and License Downloads.


Commit() Commit() Commit() Commit()

Commits all changes and flushes the resource to the document package.

(Inherited from XpsResource)

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)

GetStream() GetStream() GetStream() GetStream()

When overridden in a derived class, returns the I/O stream for reading or writing the resource.

(Inherited from XpsResource)

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)

RelativeUri(Uri) RelativeUri(Uri) RelativeUri(Uri) RelativeUri(Uri)

Returns the URI of the resource that is relative to a specified absolute URI.

(Inherited from XpsResource)

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

Returns a string that represents the current object.

(Inherited from Object)


Uri Uri Uri Uri

Gets or sets the uniform resource identifier (URI) of the part.

(Inherited from XpsPartBase)

Explicit Interface Implementations

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

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

(Inherited from XpsResource)

Applies to