XpsPackagingPolicy 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 XpsPackagingPolicy 類別的新執行個體。
多載
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
與這個 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
文件項目的交錯順序。