API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.CopyToLayer method
Copies all shapes in the range to the specified layer
Syntax:
Function CopyToLayer(ByVal Layer As Layer) As ShapeRange
Parameters:
Name Type Description
Layer
Remarks:
The CopyToLayer method copies all the shapes in a shape range to a specified layer.