Calculates the map scale given the input map extent, height and width. Does not change the current map settings.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MapFunctionality
Dim extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope
Dim mapWidth As Integer
Dim mapHeight As Integer
Dim value As Double
value = instance.GetScale(extent, mapWidth, mapHeight) |
Parameters
- extent
- Extent to use for calculating scale.
- mapWidth
- Width to use for calculating scale.
- mapHeight
- Height to use for calculating 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