Create valid polygons
Purpose
This sample code demonstrates how to do the following:
Create a multipart polygon using rings via ISegmentCollection (createMultipartPolygonRingSegmentCollection)
Create a multipart polygon using rings via IPointCollection (createMultipartPolygonRingPointCollection)
Create a single part polygon via IPointCollection (createSinglepartPolygonPointCollection)
Create a single part polygon via ISegmentCollection (createSinglepartPolygonSegmentCollection)
Convert an envelope to a polygon via ISegmentCollection (createRectanglePolygonFromEnvelope)
How to use
See
How to use ArcGIS samples
for help running the sample.
Run the application.
Examine output messages.
Development licensing
Deployment licensing
Engine Developer Kit
Engine Runtime
ArcView
ArcView