IPXV_DocInfoBar::AddCommand Method
From PDF XChange PDF SDK
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.