Understanding the CorelDRAW object model : Working with layers : Renaming layers |
You can rename a layer by editing its Name property.
The following VBA code renames Layer 1 as Layer with a New Name:
ActivePage.Layers("Layer 1").Name = "Layer with a New Name" |
Copyright 2013 Corel Corporation. All rights reserved.