STYLE EDITORS Add-In

The style editors are toolboxes for working with colors, fill styles, and line styles. They can be opened directly, or by using the Style Editors toolbox, which has a button to open each toolbox. Each toolbox returns a compound variable that is the result of using that editor: a color, a fill style or a line style, respectively. Each toolbox also displays the text for the call to the appropriate GISDK function that will create the color, fill style, or line style. You can copy the text and paste it into a resource file. In the Fill Editor and Line Editor toolboxes you can also paste in the text and load it to see what that style looks like.

The Color Editor is a toolbox that lets you create colors in a number of different ways, and save the text for the resulting call to the ColorRGB() GISDK function. The Fill Editor is a toolbox that lets you create a fill style, save the text for the resulting call to the FillStyle() GISDK function, and load an existing call to FillStyle(). The Line Editor is a toolbox that lets you create a line style, save the text for the resulting call to the LineStyle() GISDK function, and load an existing call to LineStyle(). More information on using the editors is included in the ZIP file.

Installation

  1. Download the file GISDK_Style Editors.zip and extract the file STYLE EDITORS.RSC. A good place to save the resource file is in the GISDK\Samples folder in the Maptitude program folder.
  2. Choose Tools-GIS Developer's Kit-GISDK Toolbar to open the GISDK toolbar.
  3. Compile this macro to a UI database called "Style Editors.dbd" in the program folder using the Compile to UI button (third button).
  4. Choose Tools-GIS Developer's Kit-Setup Add-Ins to set up a new dialog box add-in.
  5. Click Add.
  6. Click the Dialog Box radio button, type "Style Editors" in the Description, Name, and UI Database edit boxes, and click OK.
  7. Choose Style Editors from the scroll list in the Add-ins dialog box and click OK.
Find Us 1172 Beacon St., Suite 300
Newton MA 02461 USA

Home  |  Products  |  Contact  |  Secure Store

Copyright © Caliper Corporation