TextGRAB SDK Documentation | ITextGRABSDK::EnableSelection

Enables built-in mouse selection tool.

[C/C++]
HRESULT   EnableSelection(

    VARIANT_BOOL enable

);
[Visual Basic]
object.EnableSelection(

   ByVal enable As Boolean

) 
[C#]
void   ITextGRABSDK.EnableSelection(

    bool enable

);

Parameters

enable
[in] Specifies if selection tool should be enabled or disabled. Pass TRUE to enable, FALSE to disable selection tool.

Remarks

By default built-in mouse selection tool can be activated using Ctrl+Shift keys. This keys combination can be changed with SetupHotkey method.

Return Value(s)

 

Return Value(s) Definitions
S_OK (0x00000000) Operation was completed successfully.
E_FAIL (0x80004005) Error.
S_FALSE (0x00000001) Selection tool is already activated/deactivated.

See Also

ITextGRABSDK interface