GefObject.Rotate (method)

Rotates the object the specified number of radians.
Syntax: object.Rotate Radians
Parameters:
Radians As float -
Description: The object is rotated about its center.

Example:

Sub GefObject_Rotate()
    
    Dim oCimObj As GefObject
    
    Set oCimObj = CimGetObject
    
    oCimObj.Rotate pi / 4 '45 degrees
    CimGetScreen.Refresh False
    
End Sub