How To Modify a Polygon


Purpose
The following code demonstrates how to modify a polygon geometry object using a user input point. The modifyOneVertexOfAPolygon() method shows how to modify a polygon vertex using Hittest. The modifyOneSegmentOfAPolygon() shows how to modify a polygon segment using Hittest.


How to use

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

How to run this sample?
  1. Run the application in Eclipse IDE or command line. The application requires full path to a shapefile containing polygon data, as argument.
  2. Examine output.





Development licensing Deployment licensing
Engine Developer Kit Engine Runtime