Description

Interface implemented by user defined graphic tool classes.

Object Model


Remarks

Users wanting to extend the overlay manager functionnality by adding new tools to create objects should implement this interface in their tool objects. Additionnaly, these custom tools should also implement either McViewer._IMcViewEvents or McViewer._IMcBasicViewEvents in order to receive notifications from the viewer. They don't need however to register as a sink, since McOverlay will take care of propagating the appropriate messages.

This interface is also the one that is returned from the SelectTool method and is the type of the ActiveTool property.

Members

Properties
ActiveClassNameRead-write property

Exposes the name of the class of graphic object wich will be created by this tool.

ActiveOverlayRead-write property

Exposes the currently active McGraphOverlay or Nothing if no tool is active.

ActiveTemplateIDRead-write property

Exposes the ID of the template which will be used to initialize graphic objects created by this tool. Corresponds to the McGraphOverlay.SelectTool TemplateID argument.

CommandDataRead-write property

Tool-specific data to control and/or reflect the operation of the tool

CommandFlagsRead-write property

Tool-specific flags to control and/or reflect the operation of the tool

ToolClassNameRead-only property

Exposes the ToolClassName associated with this McGraphToolServer.