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

See Also

© 2010 All Rights Reserved.