IPXV_DocInfoBar::AddCommand Method

From Tracker Software PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddCommand([in]                      LONG           nSpanID,
                   [in]                      LONG           nCmdID,
                   [in, defaultvalue(-1)]    LONG           nInsertPos,
                   [in, defaultvalue(NULL)]  IUIX_CmdMenu*  pSubMenu,
                   [in, defaultvalue("")]    BSTR           pCustomText);

Parameters

nSpanID
[in] Value of LONG.
nCmdID
[in] Value of LONG.
nInsertPos
[in, defaultvalue(-1)] Value of LONG.
pSubMenu
[in, defaultvalue(NULL)] Pointer to IUIX_CmdMenu.
pCustomText
[in, defaultvalue("")] Value of BSTR.

Return Value

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

See Also

IPXV_DocInfoBar