[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IThreeDFormat.ResetRotation

ResetRotation Method

ResetRotation()

Resets the extrusion rotation around the x-axis and the y-axis to 0 (zero) so that the front of the extrusion faces forward.

This method resets only the x-axis and y-axis rotation values of the shape's 3-D formatting.

Declaration
void ResetRotation()
Sub ResetRotation()
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 1, 1, 100, 100);
shape.ThreeD.Depth = 7;
shape.ThreeD.RotationX = 20;
shape.ThreeD.RotationY = 30;
shape.ThreeD.ResetRotation();