IXpsDocumentPackageTarget::GetXpsOMPackageWriter method
Gets the IXpsOMPackageWriter object for the document package.
Syntax
HRESULT GetXpsOMPackageWriter(
[in] IOpcPartUri *documentSequencePartName,
[in] IOpcPartUri *discardControlPartName,
[out, retval] IXpsOMPackageWriter **packageWriter
);
Parameters
documentSequencePartName [in]
The document sequence part name.discardControlPartName [in]
The control part name.packageWriter [out, retval]
The IXpsOMPackageWriter object.
Return value
This method returns an HRESULT value. If the method call fails, it returns the appropriate HRESULT error code.
Requirements
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
Xpsobjectmodel_1.h |
IDL |
Xpsobjectmodel_1.idl |