API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.RotationAngle property
Returns or sets the rotation angle of the shape on the page
Syntax:
Property Get RotationAngle() As Double
Property Let RotationAngle(ByVal Value As Double)
Remarks:
The RotationAngle property returns or specifies the angle at which a shape was rotated. Assigning a value to this property rotates the shape so that its resulting rotation angle equals the specified value.
Examples:
The following VBA example removes any rotation from the shapes on a page.
Sub Test()
Dim s As Shape
For Each s In ActivePage.Shapes
  If s.RotationAngle <> 0 Then

 s.RotationAngle = 0
  End If
Next s 
End Sub