Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns or sets the number of degrees the specified shape is rotated around the z-axis. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property Rotation As Single
Get
Set
'Usage
Dim instance As Shape
Dim value As Single
value = instance.Rotation
instance.Rotation = value
float Rotation { get; set; }
Property Value
Type: System.Single
Remarks
A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation.
To set the rotation of a three-dimensional shape around the x-axis or the y-axis, use the RotationX property or the RotationY property of the ThreeDFormat object.