IUIX_Layout::Insert Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Layout::Insert Method}} | {{#customTitle:IUIX_Layout::Insert Method}} | ||
+ | {{#parentPage:PXV:IUIX_Layout#Methods|Insert|method}} | ||
+ | {{ToWrite}} | ||
+ | {{ToReview}} | ||
The method of interface of PDF-XChange Editor SDK. | The method of interface of PDF-XChange Editor SDK. | ||
== 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, | + | <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** pNewItem);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pPane |
:[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]]. | :[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]]. | ||
− | ; | + | ;pTitle |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;pParentContainer |
:[in] Pointer to [[PXV:IUIX_LayoutItem|IUIX_LayoutItem]]. | :[in] Pointer to [[PXV:IUIX_LayoutItem|IUIX_LayoutItem]]. | ||
− | ; | + | ;pSize |
:[in] Pointer to SIZE. | :[in] Pointer to SIZE. | ||
− | ; | + | ;nItemStyle |
− | :[in, | + | :[in, defaultvalue(0)] Value of LONG. |
− | ; | + | ;nInsertBeforeChild |
− | :[in, | + | :[in, defaultvalue(-1)] Value of LONG. |
− | ; | + | ;bHidden |
− | :[in, | + | :[in, defaultvalue(0)] Value of VARIANT_BOOL. |
− | ; | + | ;pNewItem |
− | :[out, retval, | + | :[out, retval, defaultvalue(NULL)] Pointer to [[PXV:IUIX_LayoutItem|IUIX_LayoutItem]]. |
== Return Value == | == Return Value == | ||
Line 29: | Line 40: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_Layout|IUIX_Layout]] |
Latest revision as of 04:25, 15 June 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** pNewItem);
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.
- pNewItem
- [out, retval, defaultvalue(NULL)] Pointer to IUIX_LayoutItem.
Return Value
Returns S_OK if operation was successful or error code in other cases.