Loop through layers within a group....

Jan 22, 2013 at 11:42 AM

Hi All,

I have created a c# application using MapControl activeX and legend. I have created several groups with several layers within each group. Now what I would like to do is loop through layers within a selected group. 

I am not able to find a way to do this. Could you please help me out on this.


Feb 4, 2013 at 3:07 PM
Groups are not part of the ocx but are part of the legend control.
Are you using the legend control of MapWindow or a custom build?

I believe the MapWindow legend control has some groups and layers methods.