IPXV_Inst::CreateOp Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
Creates new operation object by specified unique ID of operation.
+
Creates new operation object by specified unique identifier of operation.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 15:11, 24 May 2015


Creates new operation object by specified unique identifier of operation.

Syntax

HRESULT CreateOp([in]           LONG          nOpID,
                 [out, retval]  IOperation**  ppNewOp);

Parameters

nOpID
[in] The unique identifier of registered operation. For example, you may obtain it by:
int nOpID = pdfInst.Str2ID("op.document.printPages");
ppNewOp
[out, retval] Returns pointer to a new IOperation object.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Inst, IPXV_Inst::Str2ID, IPXV_Inst::RegisterOpCreator