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;
PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Sep 7, 2010 at 16:20

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.

answered Sep 7, 2010 at 18:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.