1

I have an axMapControl.Map, I am trying to get a featureClass. I want to use this feature class to call create a GeoProcessor

IGeoProcessorResult result = GP.Execute(someFeatureClass, null) as IGeoProcessorResult;
6

On the IMap object you have a ILayer layers collection, search for you layer in that collection. When you find your layer cast it to a IFeatureLayer it has a FeatureClass property.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.