ESRI.ArcGIS.ADF.Web.DataSources.OGCWMSService
GetScale Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.OGCWMSService Namespace > MapFunctionality Class : GetScale Method




extent
mapWidth
mapHeight
Display scale.

Syntax

Visual Basic (Declaration) 
Public Function GetScale( _
   ByVal extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope, _
   ByVal mapWidth As Integer, _
   ByVal mapHeight As Integer _
) As Double
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)
C# 
public double GetScale( 
   ESRI.ArcGIS.ADF.Web.Geometry.Envelope extent,
   int mapWidth,
   int mapHeight
)

Parameters

extent
mapWidth
mapHeight

Return Value

Get/Set display scale.

Remarks

Accessor.

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

© 2011 All Rights Reserved.