Home/ Reference/ Geometry & Transform

shape.RotationAngle

Rotation in degrees, around RotationCenterX/Y.

Signature

shape.RotationAngle

Notes

Rotation in degrees, around RotationCenterX/Y.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)

print("Angle: ", shape.RotationAngle)   # unit: degrees

shape.RotationAngle = 15                   # rotate 15 degrees around the rotation centre
print("After rotation: ", shape.RotationAngle)

About this section: Geometry & Transform

Geometry & Transform — position, size and rotation of shapes.

Other entries in this section