IUIX_Layout::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search


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.

See Also

IUIX_Layout