SetLayerDefaultState(String,Boolean) Method
In This Topic
Sets the default state of a layer. Throws an exception if the layer with the specified name does not exist.
Syntax
'Declaration
Public Overloads Sub SetLayerDefaultState( _
ByVal As System.String, _
ByVal As System.Boolean _
)
public void SetLayerDefaultState(
System.string ,
System.bool
)
Parameters
- name
- The name of the layer.
- on
- Indicates whether the layer is ON (visible) by default.
See Also