API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.CopyToLayerAsRange method
Copies the shape or selection to the specified layer and returns the duplicated shape(s) as a range
Syntax:
Function CopyToLayerAsRange(ByVal Layer As Layer) As ShapeRange
Parameters:
Name Type Description
Layer
Remarks:
The CopyToLayerAsRange method copies the shape or selection to the specified layer and returns the duplicated shape (or shapes) as a shape range.