IPXV_Inst::CreateOp Method
From PDF XChange PDF SDK
Line 14: | Line 14: | ||
;nOpID | ;nOpID | ||
:[in] The unique ID of operation. You may obtain it by: | :[in] The unique ID of operation. You may obtain it by: | ||
− | :<code>int id = IPXV_Inst.Str2ID("op.document.printPages");</code> | + | ::<code>int id = IPXV_Inst.Str2ID("op.document.printPages");</code> |
;ppNewOp | ;ppNewOp | ||
:[out, retval] Returns pointer to new [[PXV:IOperation|IOperation]] object. | :[out, retval] Returns pointer to new [[PXV:IOperation|IOperation]] object. |
Revision as of 14:08, 24 May 2015
Creates new operation object by specified unique ID of operation.
Syntax
HRESULT CreateOp([in] LONG nOpID, [out, retval] IOperation** ppNewOp);
Parameters
- nOpID
- [in] The unique ID of operation. You may obtain it by:
int id = IPXV_Inst.Str2ID("op.document.printPages");
- ppNewOp
- [out, retval] Returns pointer to new IOperation object.
Return Value
Returns S_OK if operation was successful or error code in other cases.