[]
Sets the default state of a layer.
public void SetLayerDefaultState(OptionalContentGroup layer, bool on)
| 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)
| Type | Name | Description |
|---|---|---|
| string | name | The name of the layer. |
| bool | on | Indicates whether the layer is ON (visible) by default. |