Retrieve polygon centroid


Purpose
The centroid of a polygon is the center of mass of an irregular polygon. This sample takes in a shapefile with a polygon feature class and reports back the centroids.


How to use

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

  1. Run the RetrievePolygonCentroid application.
  2. Examine output.





Development licensing Deployment licensing
Engine Developer Kit Engine Runtime