How to use
See How to use ArcGIS samples for help on running the sample.
- Run the UseMapTOCToolbarBeans application.
- Browse to and open a .mxd file.
- Use the commands on the toolbar to pan and zoom the map.
- To add tools to the toolbar, edit the source code as follows: <br/>toolbarControl.addItem( Object command, int subtype, int index, boolean beginGroup, int groupSpacing, int style );
If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.
mapbean/UseMapTOCToolbarBeans.java | Main class. |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine |
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |