AnsweredAssumed Answered

Is there a way to obtain record set for dynamic legend?

Question asked by geonetadmin on Jan 27, 2014
Latest reply on Jan 28, 2014 by geonetadmin
Original User: maplogic

As of ArcGIS destop 10.1 there is a legend option to "only show classes that are visible in the current map extent".  This allows the legend on the layout to only show symbols for features that are currently visible.

My question is whether or not there is a way to obtain the record set of features that the legend considers visible on the current map extent?  In other words, I want to know when the legend shows the symbols that are currently visible and the feature count for each symbol, which records (rows) in the layer's attribute table it is using.

I have been poking around ArcObjects trying to figure out the which object controls the "only show classes that are visible in the current map extent" property but there seems to be very little documentation of this.

I was hoping one of the Esri guru's might be able to shed some light on this.