IPXV_DocInfoBar::AddButton Method

From PDF XChange PDF SDK
Revision as of 00:02, 12 August 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddButton([in]                      LONG           nSpanID,
                  [in]                      LONG           nBtnID,
                  [in]                      LPWSTR         pText,
                  [in]                      LPWSTR         pTooltip,
                  [in]                      IUIX_Icon*     pIcon,
                  [in, defaultvalue(-1)]    LONG           nInsertPos,
                  [in, defaultvalue(NULL)]  IUIX_CmdMenu*  pSubMenu,
                  [in, defaultvalue(0)]     LONG           nFlags);

Parameters

nSpanID
[in] Value of LONG.
nBtnID
[in] Value of LONG.
pText
[in] Value of LPWSTR.
pTooltip
[in] Value of LPWSTR.
pIcon
[in] Pointer to IUIX_Icon.
nInsertPos
[in, defaultvalue(-1)] Value of LONG.
pSubMenu
[in, defaultvalue(NULL)] Pointer to IUIX_CmdMenu.
nFlags
[in, defaultvalue(0)] Value of LONG.

Return Value

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

See Also

IPXV_DocInfoBar