Method ToggleTool
ToggleTool(int, bool)
Toggles a tool on or off.
public void ToggleTool(int toolId, bool state)
Parameters
toolId
intID of a previously added tool.
state
boolIf
true
, toggles the tool on, otherwise toggles it off.
Remarks
This does not cause any event to get emitted.