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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.