Swipe and change transparency


Purpose
This sample demonstrates how to swipe selected layers and change the transparency of the layers. The CommandsEnvironment singleton is used to maintain the state of the selected layer.

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.

  1. Run the SwipeAndChangeTransparency application.
  2. Load a map document with multiple layers, use the Layer List control to select the layer, then use either the Swipe or Transparency tool on the layer.


Download the files for Java
mapbean/SwipeAndChangeTransparency.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView
ArcEditor
ArcInfo