IUIX_Inst::CreateObj Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::CreateObj Method}}
 
{{#customTitle:IUIX_Inst::CreateObj Method}}
{{#parentPage:PXV:IUIX_Inst|method}}
+
{{#parentPage:PXV:IUIX_Inst#Methods|CreateObj|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Creates new object with object parameters specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateObj([in] UIX_CreateObjParams* pCreateParams, [out, retval] IUIX_Obj** ppNewObj);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateObj([in]           UIX_CreateObjParams* stCreateParams,
 +
                  [out, retval] IUIX_Obj**           pNewObj);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pCreateParams''
+
;stCreateParams
:[in]  Pointer to [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]].
+
:[in]  object parameters, specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure.
;''ppNewObj''
+
;pNewObj
:[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 ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]]

Latest revision as of 09:44, 16 June 2015


Creates new object with object parameters specified via UIX_CreateObjParams structure.

Syntax

HRESULT CreateObj([in]           UIX_CreateObjParams*  stCreateParams,
                  [out, retval]  IUIX_Obj**            pNewObj);

Parameters

stCreateParams
[in] object parameters, specified via UIX_CreateObjParams structure.
pNewObj
[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 the operation was successful, or will return an error code if it fails.

See Also

IUIX_Inst