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




Occurs when the scale of the Map is changed.

Syntax

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

See Also

© 2010 All Rights Reserved.