Filled Leader Callout

Created:6/17/2002
Description:

This samples shows how you can extend ArcObjects to build a new custom textbackground. ArcMap ships with several textbackgrounds including: Balloon Callout, Line Callout, Marker Text Background, and Simple Line Callout. This new textbackground is a Filled Leader Callout and it is very similar to the Balloon callout except, like its name suggests, the leader can be filled with a symbol that differs from the balloon.

How to use:
  1. Register the dll.
  2. Add FilledLeaderCO.PropertyPage to the 'Text Background Property Pages' component category.
  3. Add FilledLeaderCO.FilledLeaderCO to the 'Text Backgrounds' component category.
  4. Add a text element onto your map.
  5. Right-click on the selected element and select 'Properties' from the context menu.
  6. Select 'Change Symbol'.
  7. Select 'Properties'.
  8. Select the 'Advanced Text' tab.
  9. Click on 'Text Background', then select its related 'Properties' button.
  10. In 'Type', select 'Filled Leader Callout'.
  11. Its property sheet is displayed and from here you can set the leader symbol, background symbol and other properties.
  12. Hit 'OK' on all subsequent dialogs to get back to ArcMap.

Application:
ArcMap

Minimum ArcGIS Version Required: 8.2

Difficulty: Advanced


Visual Basic
File Description
FilledLeaderCO.cls Class file for the custom textbackground.
FilledLeaderCO.vbp The Visual Basic project file.
FilledLeaderCO.dll The compiled project.


Key CoClasses: SimpleFillSymbol, SimpleLineSymbol
Key Interfaces: ITextBackground, ITextBackground2, ICallout, IComPropertyPage, IPropertyPageContext, ISymbolPropertyPage