API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.CloneAsRange method
Clones the shape or selection and returns the cloned shape(s) as a shape range
Syntax:
Function CloneAsRange(Optional ByVal OffsetX As Double = 0, Optional ByVal OffsetY As Double = 0) As ShapeRange
Parameters:
Name Type Description
OffsetX
Double
Specifies the horizontal distance to offset the cloned shape.
OffsetY
Double
Specifies the vertical distance to offset the cloned shape.
Remarks:
The CloneAsRange method clones a shape or selection and returns the cloned shape (or shapes) as a shape range.