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