ESRI.ArcGIS.ADF.Web.UI.WebControls
MagnificationFactor Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Magnifier Class : MagnificationFactor Property




The default magnification factor in the Magnifier window.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Magnify")>
<ResDescriptionAttribute("The default magnification factor. If the factor is 2, then the Magnifier window displays the map at twice the scale of the main map.")>
Public Property MagnificationFactor As Integer
Visual Basic (Usage)Copy Code
Dim instance As Magnifier
Dim value As Integer
 
instance.MagnificationFactor = value
 
value = instance.MagnificationFactor
C# 
[ResCategoryAttribute("Magnify")]
[ResDescriptionAttribute("The default magnification factor. If the factor is 2, then the Magnifier window displays the map at twice the scale of the main map.")]
public int MagnificationFactor {get; set;}

Return Value

Integer value for the magnification factor.

Remarks

The MagnificationFactor is the amount of enlargement of the current Map scale within the Magnifier window. For example, if the factor is 2, then the Magnifier window displays the map at twice the scale of the main map. In other words, the area of the Magnifier window displays one-half of the area that the Map would display in the same size area.

The Magnifier window includes a drop-down list for the magnification factor. The user may change the magnfication at runtime. This property sets the default magnification when the window first appears during the session.

See Also

© 2010 All Rights Reserved.