Item Method of the PopupMenu Object
This method returns the MenuItemEnum constant corresponding to the element with the specified position in the custom part of the context menu.
Syntax
C++
HRESULT Item(
int Index,
MenuItemEnum* Result
);
C#
MenuItemEnum Item( int Index );
Visual Basic .NET
Function Item(Index As Integer) As MenuItemEnum
Parameters
- Index
- [in] Specifies the index of the element in the custom part of the context menu. Must be in a range from 0 to the value of the IPopupMenu::Count property minus 1.
- Result
- [out, retval] Receives the value of the MenuItemEnum type corresponding to the element with the specified index.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
17.09.2024 15:14:41