Excel for WPF | ComponentOne
C1.Silverlight.Excel Namespace / XLStyle Class / Rotation Property

In This Topic
    Rotation Property (XLStyle)
    In This Topic
    Gets or sets the rotation for this XLStyle, in degrees.
    Syntax
    'Declaration
     
    
    Public Property Rotation As Integer
    public int Rotation {get; set;}
    Remarks

    This property should be set to values between 0 and 180, or 255, as explained below:

    Zero means no rotation.

    1-90 means 1 to 90 degrees counter-clockwise (90 causes text to be displayed in the vertical direction going up the cell).

    91-180 means 1 to 90 degrees clockwise (180 causes text to be displayed in the vertical direction going down the cell).

    255 causes letters to be stacked top to bottom and not rotated.

    See Also