API Documentation > CorelDRAW > 2025-v26 > ToolStateAttributes > IVGToolStateAttributes
ToolStateAttributes.IsKeyDown method
Determine if a given key is pressed
Syntax:
Function IsKeyDown(ByVal KeyCode As Long) As Boolean
Parameters:
Name Type Description
KeyCode
Long