IUIX_CmdBar::FlatGetItem Method
From PDF XChange PDF SDK
Gets command item from the command bar's command item box by the FlatIndex.
Syntax
HRESULT FlatGetItem([in] LONG nFlatIndex, [out, retval] IUIX_CmdItem** pItem);
Parameters
- nFlatIndex
- [in] Value of LONG containing the FlatIndex of the command item.
- pItem
- [out, retval] Pointer to IUIX_CmdItem containing the resulting command item.
Return Value
Returns S_OK if operation was successful or error code in other cases.