[]
Sets the locked state of a layer.
public void SetLayerLocked(OptionalContentGroup layer, bool locked)
| Type | Name | Description |
|---|---|---|
| OptionalContentGroup | layer | The OptionalContentGroup object that specifies the layer. |
| bool | locked | Indicates whether the layer is locked. |
Sets the locked state of a layer. Throws an exception if the layer with the specified name does not exist.
public void SetLayerLocked(string name, bool value)
| Type | Name | Description |
|---|---|---|
| string | name | The name of the layer. |
| bool | value | Indicates whether the layer is locked. |