Circle callout


Purpose
This sample demonstrates how to extend ArcObjects to build a custom text background. ArcMap includes several text backgrounds such as the following:
  • Balloon Callout
  • Line Callout
  • Marker Text Background
  • Simple Line Callout
The text background in this sample is a custom Circle Line Callout. It is similar to the Balloon Callout except, as its name suggests, it is a circle and its leader line is a straight line.

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 shows a circle line callout.


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




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView