Share via


ThreeDFormat.RotationZ Property

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

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

Syntax

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

value = instance.RotationZ

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

Property Value

Type: System.Single
Single

Remarks

The RotationZ property can be a value from – 90 through 90. A positive value indicates upward rotation; a negative value indicates downward rotation.

To set the rotation of the extruded shape around the y-axis, use the RotationY property of the ThreeDFormat object. To set the rotation of the extruded shape around the x-axis, use the RotationX property of the ThreeDFormat object. To change the direction of the extrusion's sweep’s path without rotating the front face of the extrusion, use the SetExtrusionDirection(MsoPresetExtrusionDirection) method.

See Also

Reference

ThreeDFormat Interface

ThreeDFormat Members

Microsoft.Office.Interop.Excel Namespace