ESRI.ArcGIS.ADF.Web.UI.WebControls
ScaleChanged Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : ScaleChanged Event




Occurs when the scale of the Map is changed.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Fires when the map scale changes.")>
<ResCategoryAttribute("Server Action")>
Public Event ScaleChanged As MapScaleChangeEventHandler
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim handler As MapScaleChangeEventHandler
 
AddHandler instance.ScaleChanged, handler
C# 
[ResDescriptionAttribute("Fires when the map scale changes.")]
[ResCategoryAttribute("Server Action")]
public event MapScaleChangeEventHandler ScaleChanged

Event Data

The event handler receives an argument of type ScaleEventArgs containing data related to this event. The following ScaleEventArgs properties provide information specific to this event.

PropertyDescription
NewScale The new scale.
OldScale The old scale.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.