Skip to main content
This method cancels the registration of the specified user-defined command.

Syntax

C++

HRESULT UnregisterUserCommand( MenuItemEnum CommandId );

C#

void UnregisterUserCommand( MenuItemEnum CommandId );

Visual Basic .NET

Sub UnregisterUserCommand(CommandId As MenuItemEnum)

Parameters

CommandId [in] Specifies the ID assigned to the user command as a MenuItemEnum constant. Can have values MI_CustomCommand1, … , MI_CustomCommand10.

Return values

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

See also

Commands RegisterUserCommand MenuItemEnum