Shape.Rotation Property

Definition

Returns or sets the number of degrees the specified shape is rotated around the z-axis.

public:
 property float Rotation { float get(); void set(float value); };
public float Rotation { get; set; }
member this.Rotation : single with get, set
Public Property Rotation As Single

Property Value

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.

Applies to