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.
- Run the EditTOCLabels application and load the data as outlined for your chosen language.
- Toggle the visibility of data layers in the TOC control.
- Toggle between the Map control and the PageLayout control. The buddy changes and the TOC control updates itself.
- Edit the TOC control labels by clicking a label, then clicking it a second time to invoke label editing. (You can press the ESC key on the keyboard during the edit session to cancel the label edit.)
- Run the application again.
- Click the Load Document button, and browse your file system for an MXD or PMF file with which to work.
Download the files for Java
tocbean/EditTOCLabels.java | Main class |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |