[]
Checks whether a layer is active in the view mode specified by the Mode property. The target layer can be specified as an OptionalContentGroup, an OptionalContentMembership or a string representing the name of the layer.
public bool IsLayerActive(object layer)
Public Function IsLayerActive(layer As Object) As Boolean
Type | Name | Description |
---|---|---|
object | layer | The layer to check. |
Checks whether a layer is active in a specified view mode. The target layer can be specified as an OptionalContentGroup, an OptionalContentMembership or a string representing the name of the layer.
public bool IsLayerActive(object layer, ViewState.ViewMode mode)
Public Function IsLayerActive(layer As Object, mode As ViewState.ViewMode) As Boolean
Type | Name | Description |
---|---|---|
object | layer | The layer to check. |
ViewState.ViewMode | mode | The target view mode. |