Add Annotations Macro

This macro demonstrates the use of the AddAnnotation() function. The macro illustrates how to:

  1. Add different annotation types
  2. Use different styles for the different annotation types

You can modify the macro to add different annotation types and to add annotations to layouts or a different map.

Installation

  1. Download the file GISDK_Add Annotations.zip and extract the file ADD ANNOTATIONS.RSC. A good place to save the resource file is in the GISDK\Samples folder in the Maptitude program folder.
  2. Open the map STATES.MAP in the Maptitude/TransCAD tutorial folder.
  3. Choose Tools-GIS Developer's Kit-GISDK Toolbar to open the GISDK toolbar.
  4. Compile this macro in test mode using the Compile button (first button).
  5. Run this macro by clicking the Test button (second button), typing the macro name (Annotations), clicking the Macro radio button, and clicking OK.
Find Us 1172 Beacon St., Suite 300
Newton MA 02461 USA

Home  |  Products  |  Contact  |  Secure Store

Copyright © Caliper Corporation