IXpsFixedPageWriter.AddResourceDictionary Method

Definition

Adds a XpsResourceDictionary to the page.

public:
 System::Windows::Xps::Packaging::XpsResourceDictionary ^ AddResourceDictionary();
public System.Windows.Xps.Packaging.XpsResourceDictionary AddResourceDictionary ();
abstract member AddResourceDictionary : unit -> System.Windows.Xps.Packaging.XpsResourceDictionary
Public Function AddResourceDictionary () As XpsResourceDictionary

Returns

The XpsResourceDictionary that was added to the page.

Exceptions

Remarks

AddResourceDictionary adds a new XpsResourceDictionary to the document package and associates it with the current FixedPage.

Applies to

See also