[]
Returns a value indicating whether a layer is ON by default.
public bool GetLayerDefaultState(OptionalContentGroup layer)
| Type | Name | Description |
|---|---|---|
| OptionalContentGroup | layer | The OptionalContentGroup object that specifies the layer. |
| Type | Description |
|---|---|
| bool | A value indicating whether the layer is ON by default. |
Returns a value indicating whether a layer is ON by default. Throws an exception if the layer with the specified name does not exist.
public bool GetLayerDefaultState(string name)
| Type | Name | Description |
|---|---|---|
| string | name | The name of the layer. |
| Type | Description |
|---|---|
| bool | A value indicating whether the layer is ON by default. |