ESRI.ArcGIS.ADF.Web.DataSources.OGCWMSService
GetVisibleScale Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.OGCWMSService Namespace > MapFunctionality Class : GetVisibleScale Method




layerID
The ID of the layer to check scale visibility for.
minScale
The minimum scale at which the layer is visible, or double.NAN if there is no minimum visible scale.
maxScale
The maximum scale at which the layer is visible, or double.NAN if there is no maximum scale.
Returns the visible scale for the specified layer. This method is not supported by this MapFunctionality.

Syntax

Visual Basic (Declaration) 
Public Sub GetVisibleScale( _
   ByVal layerID As String, _
   ByRef minScale As Double, _
   ByRef maxScale As Double _
) 
Visual Basic (Usage)Copy Code
Dim instance As MapFunctionality
Dim layerID As String
Dim minScale As Double
Dim maxScale As Double
 
instance.GetVisibleScale(layerID, minScale, maxScale)
C# 
public void GetVisibleScale( 
   string layerID,
   out double minScale,
   out double maxScale
)

Parameters

layerID
The ID of the layer to check scale visibility for.
minScale
The minimum scale at which the layer is visible, or double.NAN if there is no minimum visible scale.
maxScale
The maximum scale at which the layer is visible, or double.NAN if there is no maximum scale.

See Also

© 2010 All Rights Reserved.