Previous Document Next Document
Layer.Editable

Property Editable As Boolean

Member of Layer

The Editable property returns or sets whether a layer is editable (that is, unlocked).

If the Editable property of a layer is True, the layer and its contents are editable.

The following code example locks the active layer, preventing both the layer and its contents from being edited:

Sub Test() 
 ActiveLayer.Editable = False 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.