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
隔行扫描文档元素的顺序。