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.

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

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/SwipeAndChangeTransparency.java Main class.




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced