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 application.
- Use the Open Document command on the ToolbarControl to browse to a pre-authored map document to load into the PageLayoutControl.
- Use the commands and tools on the ToolbarControl to navigate around the map document.
- Right-click the PageLayoutControl to display the pop-up menu.
- Use the custom Add Date tool to add an element to the PageLayoutControl containing the current date.
- Double-click a map or layer label in the TOCControl to edit the label.
- Customize the ToolbarControl by adding new commands, toolsets, or menus from the CustomizeDialog.
- To alter the appearance of an existing item on the ToolbarControl, right-click the item to display the context menu.
Download the files for Java
scenario/AddDateCommand.java | |
scenario/MapViewer.java | |
scenario/MapViewerFrame.java |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine |
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |