IPXV_Inst::CreateOp Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:IPXV_Inst::CreateOp Method}}
 
{{#customTitle:IPXV_Inst::CreateOp Method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|CreateOp|method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|CreateOp|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new operation object by specified unique ID of operation.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;nOpID
 
;nOpID
:[in]  Value of LONG.
+
:[in]  The unique ID of operation. You may obtain it by:
 +
:<code>int id = IPXV_Inst.Str2ID("op.document.printPages");</code>
 
;ppNewOp
 
;ppNewOp
:[out, retval]  Pointer to [[PXV:IOperation|IOperation]].
+
:[out, retval]  Returns pointer to new [[PXV:IOperation|IOperation]] object.
  
 
== Return Value ==
 
== Return Value ==
Line 22: Line 22:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Inst|IPXV_Inst]]
+
[[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_Inst_Str2ID|IPXV_Inst::Str2ID]], [[PXV:IPXV_Inst_RegisterOpCreator|IPXV_Inst::RegisterOpCreator]]

Revision as of 15:07, 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.

See Also

IPXV_Inst, IPXV_Inst::Str2ID, IPXV_Inst::RegisterOpCreator