Select to view content in your preferred language

Scale Change Event for Map Control

732
2
Jump to solution
08-21-2012 06:42 AM
ErnieSalazar
Regular Contributor
Hi Everyone.

I want to be able to know when the scale of my main Map control changes.  I figured there would be an event already built into it but it appears there is not.  Then I thought I could just create my own class with inheritance from the Map control but it is sealed :/.

Am I missing something obvious?

Thanks
Ernie
0 Kudos
1 Solution

Accepted Solutions
DominiqueBroux
Esri Frequent Contributor
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
You might use the Map.ExtentChanged event.
0 Kudos
ErnieSalazar
Regular Contributor
Thanks Dominque.  That got me to it.  I already had the ExtentChanged implemented but didnt realize that both envelopes were in the args.  That works if I calculate the difference in the envelopes.

Thanks
Ernie
0 Kudos