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