IUIX_CmdLine::GetBarIndex Method
From PDF XChange PDF SDK
Gets command bar's index inside the command line.
Syntax
HRESULT GetBarIndex([in] IUIX_CmdBar* pBar, [out, retval] LONG* nIndex);
Parameters
- pBar
- [in] Pointer to IUIX_CmdBar containing the command bar that needs to be found.
- nIndex
- [out, retval] Pointer to LONG containing the index of the command bar. If not found, the -1 will be returned instead.
Return Value
Returns S_OK if operation was successful or error code in other cases.