Bewerken

Delen via


XpsResourceDictionary Class

Definition

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
Inheritance
XpsResourceDictionary

Remarks

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.

Properties

Uri

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

(Inherited from XpsPartBase)

Methods

Commit()

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

(Inherited from XpsResource)
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)
GetStream()

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

(Inherited from XpsResource)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RelativeUri(Uri)

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

(Inherited from XpsResource)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

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