API Documentation
>
CorelDRAW
>
2025-v26
>
Layer
>
IVGLayer
Layer.Name property
Returns or sets the layer name
Syntax:
Property
Get
Name
(
)
As
String
Property
Let
Name
(
ByVal
Value
As
String
)
Remarks:
The
Name
property returns or specifies the name of a layer.
Examples:
The following VBA example displays, in a message box, the name of the active layer.
Sub Test() MsgBox "Active Layer is " & ActiveLayer.Name End Sub