IUIX_Layout::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Insert([in] IUIX_Obj* pPane, [in] BSTR pTitle, [in] IUIX_LayoutItem* pParentContainer, [in] SIZE* pSize, [in, optional] LONG nItemStyle, [in, optional] LONG nInsertBeforeChild, [in, optional] VARIANT_BOOL bHidden, [out, retval, optional] IUIX_LayoutItem** ppNewItem);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in] IUIX_Obj* pPane, [in] BSTR pTitle, [in] IUIX_LayoutItem* pParentContainer, [in] SIZE* pSize, [in, defaultvalue(0)] LONG nItemStyle, [in, defaultvalue(-1)] LONG nInsertBeforeChild, [in, defaultvalue(0)] VARIANT_BOOL bHidden, [out, retval, defaultvalue(NULL)] IUIX_LayoutItem** ppNewItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 17: Line 17:
 
:[in]  Pointer to SIZE.
 
:[in]  Pointer to SIZE.
 
;''nItemStyle''
 
;''nItemStyle''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''nInsertBeforeChild''
 
;''nInsertBeforeChild''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(-1)]  Value of LONG.
 
;''bHidden''
 
;''bHidden''
:[in, optional]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
;''ppNewItem''
 
;''ppNewItem''
:[out, retval, optional]  Pointer to [[PXV:IUIX_LayoutItem|IUIX_LayoutItem]].
+
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_LayoutItem|IUIX_LayoutItem]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 02:14, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Insert([in] IUIX_Obj* pPane, [in] BSTR pTitle, [in] IUIX_LayoutItem* pParentContainer, [in] SIZE* pSize, [in, defaultvalue(0)] LONG nItemStyle, [in, defaultvalue(-1)] LONG nInsertBeforeChild, [in, defaultvalue(0)] VARIANT_BOOL bHidden, [out, retval, defaultvalue(NULL)] IUIX_LayoutItem** ppNewItem);

Parameters

pPane
[in] Pointer to IUIX_Obj.
pTitle
[in] Value of BSTR.
pParentContainer
[in] Pointer to IUIX_LayoutItem.
pSize
[in] Pointer to SIZE.
nItemStyle
[in, defaultvalue(0)] Value of LONG.
nInsertBeforeChild
[in, defaultvalue(-1)] Value of LONG.
bHidden
[in, defaultvalue(0)] Value of VARIANT_BOOL.
ppNewItem
[out, retval, defaultvalue(NULL)] Pointer to IUIX_LayoutItem.

Return Value

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

See Also

See also IUIX_Layout.