IUIX_Inst::CreateObj Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:IUIX_Inst::CreateObj Method}}
 
{{#customTitle:IUIX_Inst::CreateObj Method}}
 
{{#parentPage:PXV:IUIX_Inst|CreateObj Method|method}}
 
{{#parentPage:PXV:IUIX_Inst|CreateObj Method|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new object with object parameters specified in '''pCreateParams''' structure.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;pCreateParams
 
;pCreateParams
:[in]  Pointer to [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]].
+
:[in]  object parameters, specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure.
 
;ppNewObj
 
;ppNewObj
:[out, retval]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[out, retval]  return object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. To query implementation of a required item type from <code>IUIX_Obj</code> use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method.
  
 
== Return Value ==
 
== Return Value ==
Line 22: Line 21:
  
 
== See Also ==
 
== See Also ==
[[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]], [[PXV:IUIX_Obj|IUIX_Obj]], [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]].

Revision as of 06:46, 20 May 2015


Creates new object with object parameters specified in pCreateParams structure.

Syntax

HRESULT CreateObj([in]           UIX_CreateObjParams*  pCreateParams,
                  [out, retval]  IUIX_Obj**            ppNewObj);

Parameters

pCreateParams
[in] object parameters, specified via UIX_CreateObjParams structure.
ppNewObj
[out, retval] return object of IUIX_Obj interface. To query implementation of a required item type from IUIX_Obj use QueryImpl method.

Return Value

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

See Also

IUIX_Inst, IUIX_Obj, UIX_CreateObjParams.