Buffer features


Purpose
This sample shows how to create a buffer for selected features in the Map control. The buffer size can be controlled using a scale, and the buffer can be created as a graphic or persisted as a shapefile.

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Run the BufferFeatures application.
  2. Click Add Layer to add a feature layer.
  3. Click the Select Features tool and select features in the feature layer.
  4. Select an applicable buffer width.
  5. Optionally, selelct the Save to shape check box and type the file name in the text field to persist the buffer as a shapefile.
  6. Click Buffer to buffer the selected features.

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




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