SetLayerLocked(String,Boolean) Method
In This Topic
Sets the locked state of a layer. Throws an exception if the layer with the specified name does not exist.
Syntax
'Declaration
Public Overloads Sub SetLayerLocked( _
ByVal As System.String, _
ByVal As System.Boolean _
)
public void SetLayerLocked(
System.string ,
System.bool
)
Parameters
- name
- The name of the layer.
- value
- Indicates whether the layer is locked.
See Also