![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
Scale Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : Scale Property |
Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <ResDescriptionAttribute("Gets the scale of the current map.")> Public Overridable ReadOnly Property Scale As Double |
C# | |
---|---|
[BrowsableAttribute(false)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [ResDescriptionAttribute("Gets the scale of the current map.")] public virtual double Scale {get;} |
Property Value
Scale of map expressed as a decimal fraction.The scale of the map depends on the map Extent, the map width in pixels, and the resolution of the user's display. The resolution by default is assumed to be 96 pixels (dots) per inch (DPI). Displays are often set to other DPI values, which can cause the Scale property to be incorrect.
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