Previous Document Next Document

Understanding the CorelDRAW object model : Working with layers : Renaming 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"

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.