Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

See also

IXpsDocumentPackageTarget
IXpsOMPackageWriter

 

 

Show:
© 2017 Microsoft