Chinese Simplified (简体中文)

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.

Syntax

C++

HRESULT IsUserCommandRegistered(
  MenuItemEnum  CommandId,
  VARIANT_BOOL* Result
);
    

C#

bool IsUserCommandRegistered( MenuItemEnum CommandId );
    

Visual Basic .NET

Function IsUserCommandRegistered(CommandId As MenuItemEnum) As Boolean
    

Parameters

CommandId
[in] Specifies a MenuItemEnum constant which corresponds to the user command.
Result
[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

Commands

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.