IXpsOMPackageTarget interface (xpsobjectmodel.h)
Provides the method to create an IXpsOMPackageWriter that can be used by a print job that was created by the StartXpsPrintJob1 function.
Inheritance
The IXpsOMPackageTarget interface inherits from the IUnknown interface. IXpsOMPackageTarget also has these types of members:
Methods
The IXpsOMPackageTarget interface has these methods.
IXpsOMPackageTarget::CreateXpsOMPackageWriter Create an IXpsOMPackageWriter interface for use with a print job that the StartXpsPrintJob1 function created. |
Remarks
The IXpsOMPackageWriter interface writes the application data in the order in which they will appear to the user.
To create an instance of an IXpsOMPackageTarget interface, call the StartXpsPrintJob1 function.
To create the IXpsOMPackageWriter interface to use to write the document to a printer, call the CreateXpsOMPackageWriter method of this interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 with SP1, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 with SP1, Windows Server 2008 and Platform Update Supplement for Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | xpsobjectmodel.h |