IUIX_CmdRibbonTabs::InsertNew Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT InsertNew([in]                      BSTR                 sTabID,
                  [in]                      BSTR                 sText,
                                            LONG                 nStyle,
                  [in, defaultvalue(-1)]    LONG                 nIndexBefore,
                  [in, defaultvalue(NULL)]  IUIX_Icon*           pIcon,
                  [in, defaultvalue(NULL)]  IUIX_CmdRibbonTab**  pNewTab);

Parameters

sTabID
[in] Value of BSTR.
sText
[in] Value of BSTR.
nStyle
Value of LONG.
nIndexBefore
[in, defaultvalue(-1)] Value of LONG.
pIcon
[in, defaultvalue(NULL)] Pointer to IUIX_Icon.
pNewTab
[in, defaultvalue(NULL)] Pointer to IUIX_CmdRibbonTab.

Return Value

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

See Also

IUIX_CmdRibbonTabs