API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.RotateEx method
EX-Rotates the shape by adding the amount to the current rotation value
Syntax:
Sub RotateEx(ByVal Angle As Double, ByVal CenterX As Double, ByVal CenterY As Double)
Parameters:
Name Type Description
Angle
Double
CenterX
Double
CenterY
Double
Remarks:
The RotateEx method rotates all the shapes in a shape range, treating the group as a single object. The range is rotated around a specified center of rotation.