Clip a shapefile by envelope


Purpose This sample demonstrates how to accomplish basic geoprocessing tasks using ITopologicalOperator. Applications such as this are suitable for batch driven processing. This application uses a source shapefile and the extents of a clipping envelope to export the features in the clipping envelope to a newly created shapefile.
 
The following information is used in this application:

Path to input shapefile
Path to resulting shapefile
xmin value for clip envelope
ymin value for clip envelope
xmax value for clip envelope
ymax value for clip envelope


How to use

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

  1. Run the application. A shapefile of the clip is created.





Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView ArcView