語言

XpsPackagingPolicy 建構函式

定義

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

多載

名稱 Description
XpsPackagingPolicy(XpsDocument)

初始化該類別的新實例 XpsPackagingPolicy ,針對指定的 XpsDocument。

XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder)

初始化類別的新實例 XpsPackagingPolicy ,並以指定 XpsDocument 且指定的交錯順序。

XpsPackagingPolicy(XpsDocument)

初始化該類別的新實例 XpsPackagingPolicy ,針對指定的 XpsDocument。

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

與此XpsDocument相關聯的 XpsPackagingPolicy 。

適用於

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

文件元素交錯的順序。

適用於