IUIX_CmdBar::InsertNewBox Method

From PDF XChange PDF SDK
Revision as of 03:12, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT InsertNewBox([in]                                         BSTR               pNewBoxID,
                     [in, defaultvalue(-1)]                       LONG               nInsertBefore,
                     [in, defaultvalue(UIX_CmdItemSize_Default)]  UIX_CmdItemSize    nIdealSize,
                     [in, defaultvalue(UIX_CmdItemSize_Default)]  UIX_CmdItemSize    nLowerSize,
                     [in, defaultvalue(0)]                        LONG               nStyle,
                     [out, retval, defaultvalue(NULL)]            IUIX_CmdItemBox**  pItemBox);

Parameters

pNewBoxID
[in] Value of BSTR.
nInsertBefore
[in, defaultvalue(-1)] Value of LONG.
nIdealSize
[in, defaultvalue(UIX_CmdItemSize_Default)] Value of UIX_CmdItemSize.
nLowerSize
[in, defaultvalue(UIX_CmdItemSize_Default)] Value of UIX_CmdItemSize.
nStyle
[in, defaultvalue(0)] Value of LONG.
pItemBox
[out, retval, defaultvalue(NULL)] Pointer to IUIX_CmdItemBox.

Return Value

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

See Also

IUIX_CmdBar