API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.EditAcrossLayers property
Returns or sets the ability to edit objects that are not on the active layer
Syntax:
Property Get EditAcrossLayers() As Boolean
Property Let EditAcrossLayers(ByVal Value As Boolean)
Remarks:
The EditAcrossLayers property returns a value that indicates if editing objects on different layers is permitted. If this property is set to False, only objects on the active layer can be edited.
Examples:
The following VBA example allows you to edit objects on several different layers.
Sub Edit()
ActiveDocument.EditAcrossLayers = True 
End Sub