Execute Topo to Raster using ArcObjects

Discussion created by mcoop05 on Feb 15, 2011
Latest reply on Aug 6, 2013 by Hornbydd
Does anyone have a sample of setting up the parameters for the Topo to Raster tool with ArcObjects?

I'm struggling to get the in_topo_features parameter setup properly.  I assume I need to use the IGPSATopoFeatures interface to add my feature class and designate the correct field name, but I'm not having any luck.


Dim geoprocessor As New GeoProcessor
Dim topoToRasterTool As New TopoToRaster()

topoToRasterTool.enforce = "NO_ENFORCE"
topoToRasterTool.in_topo_features = ??
topoToRasterTool.out_surface_raster =