TextGRAB SDK Documentation | ITextGRABSDK::SetupHotkeyEx

Setups the hot key for capture tool activation

[C/C++]
HRESULT SetupHotkeyEx(

TGSDKHotKey MainKey,
TGSDKHotKey ExtendedKey

);

[Visual Basic]
object.SetupHotkeyEx(

ByVal MainKey As TGSDKHotKey,
ByVal ExtendedKey As TGSDKHotKey

)

[C#]
void ITextGRABSDK.SetupHotkeyEx(

TGSDKHotKey MainKey,
TGSDKHotKey ExtendedKey

);

Parameters

MainKey
[in] main key value.
ExtendedKey
[in] extended key value.

Remarks

Available keys are: Ctrl, Shift, Alt

Return Value(s)

 

Return Value(s) Definitions
S_OK (0x00000000) Operation was completed succesfully.
E_FAIL (0x80004005) Error.
E_INVALIDARG (0x80070057) Invalid keys combination.

See Also

ITextGRABSDK interface | TGSDKHotKey enum