Filled leader callout


Purpose
This sample shows how to extend ArcObjects to build a custom text background. ArcMap includes the following text backgrounds:
  • Balloon callout
  • Line callout
  • Marker text background
  • Simple line callout
The custom text background in this sample is a filled leader callout and is similar to the balloon callout except, as its name suggests, the leader can be filled with a symbol that differs from the balloon.

How to use

See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Run the sample application. The application illustrates a filled leader callout.


Download the files for Java
cartography/FilledLeaderCallout.java Class file for the custom text background
cartography/FilledLeaderCalloutMain.java Main application




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic