IPXV_Inst::CreateOp Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT CreateOp([in] LONG nOpID, | <pre class="brush:cpp;gutter:false">HRESULT CreateOp([in] LONG nOpID, | ||
− | [out, retval] IOperation** | + | [out, retval] IOperation** pNewOp);</pre> |
== Parameters == | == Parameters == | ||
Line 15: | Line 15: | ||
:[in] The unique identifier of registered operation. For example, you may obtain it by: | :[in] The unique identifier of registered operation. For example, you may obtain it by: | ||
::<code>int nOpID = pdfInst.Str2ID("op.document.printPages");</code> | ::<code>int nOpID = pdfInst.Str2ID("op.document.printPages");</code> | ||
− | ; | + | ;pNewOp |
:[out, retval] Returns pointer to a new [[PXV:IOperation|IOperation]] object. | :[out, retval] Returns pointer to a new [[PXV:IOperation|IOperation]] object. | ||
Revision as of 01:39, 4 June 2015
Creates new operation object by specified unique identifier.
Syntax
HRESULT CreateOp([in] LONG nOpID, [out, retval] IOperation** pNewOp);
Parameters
- nOpID
- [in] The unique identifier of registered operation. For example, you may obtain it by:
int nOpID = pdfInst.Str2ID("op.document.printPages");
- pNewOp
- [out, retval] Returns pointer to a new IOperation object.
Return Value
Returns S_OK if operation was successful or error code in other cases.