ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
SetLayerVisibility Method
See Also  Send Feedback
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.

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.