DoCommand Method of the Commands Object

This method executes the specified command in synchronous or asynchronous mode.

Syntax

C++

HRESULT DoCommand(
  MenuItemEnum Value,
  VARIANT_BOOL DoSynchronously
);
    

C#

void DoCommand(
  MenuItemEnum Value,
  bool         DoSynchronously
);
    

Visual Basic .NET

Sub DoCommand( _
  Value As MenuItemEnum, _
  DoSynchronously As Boolean _
)
    

Parameters

Value
[in] Specifies the command to be executed as a MenuItemEnum constant. See the list of available commands:
Image Viewer commands
Zoom Viewer commands
Document Viewer commands
Text Editor commands
DoSynchronously
[in] Specifies whether this method works synchronously or not.

Return values

This method has no specific return values. It returns the standard return values of 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.