IUIX_Inst::CreateObj Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_Inst::CreateObj Method}} | {{#customTitle:IUIX_Inst::CreateObj Method}} | ||
{{#parentPage:PXV:IUIX_Inst#Methods|CreateObj|method}} | {{#parentPage:PXV:IUIX_Inst#Methods|CreateObj|method}} | ||
− | + | ||
Creates new object with object parameters specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure. | Creates new object with object parameters specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure. | ||
Line 18: | Line 18: | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
[[PXV:IUIX_Inst|IUIX_Inst]] | [[PXV:IUIX_Inst|IUIX_Inst]] |
Latest revision as of 10: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
useQueryImpl
method.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.