[]
Returns a value indicating whether a layer is ON by default.
public bool GetLayerDefaultState(OptionalContentGroup layer)
Public Function GetLayerDefaultState(layer As OptionalContentGroup) As Boolean
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)
Public Function GetLayerDefaultState(name As String) As Boolean
Type | Name | Description |
---|---|---|
string | name | The name of the layer. |
Type | Description |
---|---|
bool | A value indicating whether the layer is ON by default. |