Share via


ThreeDFormat.RotationY Property

Returns or sets the rotation of the extruded shape around the y-axis, in degrees. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property RotationY As Single
    Get
    Set
'Usage
Dim instance As ThreeDFormat
Dim value As Single

value = instance.RotationY

instance.RotationY = value
float RotationY { get; set; }

Property Value

Type: System.Single

Remarks

Can be a value from -90 through 90. A positive value indicates rotation to the left; a negative value indicates rotation to the right.

To set the rotation of the extruded shape around the x-axis, use the RotationX property of the ThreeDFormat object.

To set the rotation of the extruded shape around the z-axis, use the Rotation property of the Shape object.

To change the direction of the extrusion's sweep path without rotating the front face of the extrusion, use the SetExtrusionDirection(MsoPresetExtrusionDirection) method.

See Also

Reference

ThreeDFormat Interface

ThreeDFormat Members

Microsoft.Office.Interop.PowerPoint Namespace