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.
- Start the sample application. The frame is loaded with the PageLayout, TOC, and Toolbar controls and a combo box populated with marker, line, fill, and text symbol items.
- Click Open to load a map document into the PageLayout control.
- Select a background, border, or shadow from the combo box. The associated symbol type is shown in the right panel.
- Select Marker, Line, or Polygon from the toolbar, select the symbol(s) in the right panel, and click PageLayout. The symbols are placed.
Download the files for Java
symbologybean/AssignSymbolToGraphicElements.java | This sample demonstrates how to change the symbols used by the out-of-the-box Marker, Line, Freehand, Rectangle, and Polygon element tools. |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |