public void IFeatureClassAsInput(IFeatureClass pFC, string buff_dist) { IGeoProcessor2 gp = new GeoProcessorClass(); gp.OverwriteOutput = true; IVariantArray parameters = new VarArrayClass(); parameters.Add(pFC); parameters.Add(@C:\temp\poitns_buff.shp); parameters.Add(buff_dist); gp.Execute("Buffer_analysis", parameters, null); }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.