IsUserCommandRegistered Method of the Commands Object

This method allows you to find out whether the specified user-defined command is registered. You can use this method to check availability of an enumeration constant before registering a custom command.



HRESULT IsUserCommandRegistered(
  MenuItemEnum  CommandId,


bool IsUserCommandRegistered( MenuItemEnum CommandId );

Visual Basic .NET

Function IsUserCommandRegistered(CommandId As MenuItemEnum) As Boolean


[in] Specifies a MenuItemEnum constant which corresponds to the user command.
[out, retval] Specifies whether the command is registered. If the value is TRUE, such command has already been registered, and you cannot use this constant for another command.

Return values

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

See also


03.07.2024 8:50:43

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.