Mapxtreme desktop tools api – Pitney Bowes MapXtreme User Manual
Page 141

Chapter 7: Desktop Applications, Controls, Dialogs, and Tools
MapXtreme Desktop Tools API
MapXtreme v7.1
141
Developer Guide
For an example of using the desktop tools programmatically, see the sample application under
..\MapInfo\MapXtreme\7.x.x\Samples\Desktop\Features\DesktopTools under your installation of
MapXtreme.
MapXtreme Desktop Tools API
The diagram below shows a UML representation of the MapTool class.
Tools are ultimately derived from the MapTool class. Select and Add tools are derived from the
SelectMapTool and AddMapTool classes, respectively.
The Tools included in this namespace can be divided into four categories: View tools, Select tools,
Add tools and Custom tools.
Within the Add, Custom and Select tool categories are tools for drawing or selecting these geometric
objects: Ellipse, Arc, Circle, Rectangle, Polygon, Point, Line, and Polyline.
All of the tools have properties associated with them which implement three interfaces:
IMapToolProperties, ISelectMapToolProperties, and IAddMapToolProperties.