[]
Sets the default state of a layer.
public void SetLayerDefaultState(OptionalContentGroup layer, bool on)
Public Sub SetLayerDefaultState(layer As OptionalContentGroup, [on] As Boolean)
Type | Name | Description |
---|---|---|
OptionalContentGroup | layer | The OptionalContentGroup object that specifies the layer. |
bool | on | Indicates whether the layer is ON (visible) by default. |
Sets the default state of a layer. Throws an exception if the layer with the specified name does not exist.
public void SetLayerDefaultState(string name, bool on)
Public Sub SetLayerDefaultState(name As String, [on] As Boolean)
Type | Name | Description |
---|---|---|
string | name | The name of the layer. |
bool | on | Indicates whether the layer is ON (visible) by default. |