Method EnableTool
EnableTool(int, bool)
Enables or disables the tool.
public void EnableTool(int toolId, bool state)
Parameters
toolId
intID of the tool to enable or disable.
state
boolIf
true
, enables the tool, otherwise disables it.
Remarks
Some implementations will change the visible state of the tool to indicate that it is disabled.