ESRI.ArcGIS.ADF.Web.DataSources.Graphics
GetScale Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.Graphics Namespace > MapFunctionality Class : GetScale Method




extent
Extent to use for determining scale.
mapWidth
Width of the map in pixels.
mapHeight
Height of the map in pixels.
Calculates the map scale for the input map extent and map size. Not currently implemented.

Syntax

Visual Basic (Declaration) 
Public Function GetScale( _
   ByVal extent As Envelope, _
   ByVal mapWidth As Integer, _
   ByVal mapHeight As Integer _
) As Double
Visual Basic (Usage)Copy Code
Dim instance As MapFunctionality
Dim extent As Envelope
Dim mapWidth As Integer
Dim mapHeight As Integer
Dim value As Double
 
value = instance.GetScale(extent, mapWidth, mapHeight)
C# 
public double GetScale( 
   Envelope extent,
   int mapWidth,
   int mapHeight
)

Parameters

extent
Extent to use for determining scale.
mapWidth
Width of the map in pixels.
mapHeight
Height of the map in pixels.

Return Value

Not currently implemented. Will throw NotImplementedException.

See Also

© 2010 All Rights Reserved.