Element Property of the PopupMenu Object

This property returns the MenuItemEnum constant corresponding to the element of the custom part of the context menu with the specified index.



HRESULT Element(
  int           Index,
  MenuItemEnum* Result


SpellReplacement get_Element( int Index );

Visual Basic .NET

ReadOnly Property Element(Index As Integer) As MenuItemEnum


[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.
[out, retval] Receives the MenuItemEnum constant, corresponding to the element with the specified index.

Return values

This property has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also


24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.