XpsPackagingPolicy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XpsPackagingPolicy class.
Overloads
XpsPackagingPolicy(XpsDocument) |
Initializes a new instance of the XpsPackagingPolicy class for a specified XpsDocument. |
XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder) |
Initializes a new instance of the XpsPackagingPolicy class with a specified XpsDocument and specified interleave order. |
XpsPackagingPolicy(XpsDocument)
Initializes a new instance of the XpsPackagingPolicy class for a specified 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)
Parameters
- xpsPackage
- XpsDocument
The XpsDocument that is associated with this XpsPackagingPolicy.
Applies to
XpsPackagingPolicy(XpsDocument, PackageInterleavingOrder)
Initializes a new instance of the XpsPackagingPolicy class with a specified XpsDocument and specified interleave order.
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)
Parameters
- xpsPackage
- XpsDocument
The XML Paper Specification (XPS) document that the packaging policy applies to.
- interleavingType
- PackageInterleavingOrder
The order in which to interleave document elements.
Applies to
.NET