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




Occurs when the scale of the map on the layout has changed.

Syntax

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