ESRI.ArcGIS.ADF.Web.DataSources
GetVisibleScale Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IMapFunctionality Interface : 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.

Syntax

Visual Basic (Declaration) 
Sub GetVisibleScale( _
   ByVal layerID As String, _
   ByRef minScale As Double, _
   ByRef maxScale As Double _
) 
Visual Basic (Usage)Copy Code
Dim instance As IMapFunctionality
Dim layerID As String
Dim minScale As Double
Dim maxScale As Double
 
instance.GetVisibleScale(layerID, minScale, maxScale)
C# 
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.