IXpsFixedPageWriter.AddResourceDictionary 方法

定义

将一个 XpsResourceDictionary 添加到页中。

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

返回

XpsResourceDictionary

已添加到页中的 XpsResourceDictionary

例外

注解

AddResourceDictionary 向文档包添加新内容 XpsResourceDictionary ,并将其与当前 FixedPage包相关联。

适用于

另请参阅