ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
SetLayerVisibility Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout Namespace > PageLayout 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) 
<BrowsableAttribute(False)>
Public Overrides Sub SetLayerVisibility( _
   ByVal map As String, _
   ByVal layerID As Integer, _
   ByVal visible As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As PageLayout
Dim map As String
Dim layerID As Integer
Dim visible As Boolean
 
instance.SetLayerVisibility(map, layerID, visible)
C# 
[BrowsableAttribute(false)]
public override 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.