Change the visibility of a layer in the page layout.
Syntax
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) |
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