XpsPackagingPolicy 建構函式

定義

初始化 XpsPackagingPolicy 類別的新執行個體。

多載

XpsPackagingPolicy(XpsDocument)

初始化所指定 XpsPackagingPolicyXpsDocument 類別的新執行個體。

XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder)

使用指定的 XpsPackagingPolicy 和指定的交錯順序,初始化 XpsDocument 類別的新執行個體。

XpsPackagingPolicy(XpsDocument)

初始化所指定 XpsPackagingPolicyXpsDocument 類別的新執行個體。

public:
 XpsPackagingPolicy(System::Windows::Xps::Packaging::XpsDocument ^ xpsPackage);
public XpsPackagingPolicy (System.Windows.Xps.Packaging.XpsDocument xpsPackage);
new System.Windows.Xps.Serialization.XpsPackagingPolicy : System.Windows.Xps.Packaging.XpsDocument -> System.Windows.Xps.Serialization.XpsPackagingPolicy
Public Sub New (xpsPackage As XpsDocument)

參數

xpsPackage
XpsDocument

與這個 XpsPackagingPolicy 關聯的 XpsDocument

適用於

XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder)

使用指定的 XpsPackagingPolicy 和指定的交錯順序,初始化 XpsDocument 類別的新執行個體。

public:
 XpsPackagingPolicy(System::Windows::Xps::Packaging::XpsDocument ^ xpsPackage, System::Windows::Xps::Packaging::PackageInterleavingOrder interleavingType);
public XpsPackagingPolicy (System.Windows.Xps.Packaging.XpsDocument xpsPackage, System.Windows.Xps.Packaging.PackageInterleavingOrder interleavingType);
new System.Windows.Xps.Serialization.XpsPackagingPolicy : System.Windows.Xps.Packaging.XpsDocument * System.Windows.Xps.Packaging.PackageInterleavingOrder -> System.Windows.Xps.Serialization.XpsPackagingPolicy
Public Sub New (xpsPackage As XpsDocument, interleavingType As PackageInterleavingOrder)

參數

xpsPackage
XpsDocument

XML 紙張規格 (XPS) 套用封裝原則的檔。

interleavingType
PackageInterleavingOrder

文件項目的交錯順序。

適用於