Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeBase Interface / IncrementRotation Method
Specifies how far the shape is to be rotated horizontally, in degrees. A positive value rotates the shape clockwise; a negative value rotates it counterclockwise.


In This Topic
IncrementRotation Method
In This Topic
Changes the rotation of the specified shape around the z-axis by the specified number of degrees.
Syntax
'Declaration
 
Sub IncrementRotation( _
   ByVal increment As Double _
) 
 
'Usage
 
Dim instance As IShapeBase
Dim increment As Double
 
instance.IncrementRotation(increment)

Parameters

increment
Specifies how far the shape is to be rotated horizontally, in degrees. A positive value rotates the shape clockwise; a negative value rotates it counterclockwise.
Remarks
Use the Rotation property to set the absolute rotation of the shape.

To rotate a three-dimensional shape around the x-axis or the y-axis, use the IncrementRotationX method or the IncrementRotationY method.

See Also