API Documentation
>
CorelDRAW
>
2025-v26
>
Layer
>
IVGLayer
Layer.MoveAbove method
Places a layer above another layer
Syntax:
Sub
MoveAbove
(
ByVal
Layer
As
Layer
)
Parameters:
Name
Type
Description
Layer
Layer
Remarks:
The
MoveAbove
method changes the stacking order of a specified layer by placing another layer above it, thereby rearranging them.
Examples:
The following VBA example moves the active layer and places it above the layer named
Layer 1
.
Sub Test() ActiveLayer.MoveAbove ActivePage.Layers("Layer 1") End Sub