ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
SetLayerVisibility Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > WebPageLayout Class : SetLayerVisibility Method




map
The dataframe the layer belongs to.
layerID
The ID of the layer.
visible
The visibility to apply.
Change the visibility of a layer in the page layout.

Syntax

Visual Basic (Declaration) 
Public Sub SetLayerVisibility( _
   ByVal map As String, _
   ByVal layerID As Integer, _
   ByVal visible As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As String
Dim layerID As Integer
Dim visible As Boolean
 
instance.SetLayerVisibility(map, layerID, visible)
C# 
public void SetLayerVisibility( 
   string map,
   int layerID,
   bool visible
)

Parameters

map
The dataframe the layer belongs to.
layerID
The ID of the layer.
visible
The visibility to apply.

See Also

© 2010 All Rights Reserved.