Nevron Forum

How to get the legend text / level ranges displayed on a map

https://www.nevron.com/Forum/Topic6811.aspx

By Kevin Harrison 1 - Wednesday, August 8, 2012

Hi

How can I get the text of the legend levels displayed on a map (and/or the range of each level). I can't see a way to do this.

Thanks

Kevin 

By Nevron Support - Wednesday, August 15, 2012

You can create a class that inherits from the NMapLegendRange and override the GetValue(int index) method to get the text associated with the range with the specified index. In the method override simply call bse.GetValue(index) to get the string.