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;

1 Answer 1

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 and acknowledge you have read our privacy policy.

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