Element Property of the Commands Object

This property returns the MenuItemEnum constant corresponding to the command with the specified index.

Syntax

C++

HRESULT Element(
  int           Index,
  MenuItemEnum* Result
);
    

C#

MenuItemEnum Element( int Index );
    

Visual Basic .NET

ReadOnly Property Element(Index As Integer) As MenuItemEnum
    

Parameters

Index
[in] Specifies the index of the command in the collection of commands. Must be in a range from 0 to the value of the ICommands::Count property minus 1.
Result
[out, retval] Receives the MenuItemEnum constant corresponding to the command 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

Commands

MenuItemEnum

17.09.2024 15:14:40

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.