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
9/17/2024 3:14:41 PM