SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / textOrientation Method
The cell text rotation angle, form -90 to 90 angle.
In This Topic
    textOrientation Method
    In This Topic
    Gets or sets the text rotation angle of the cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var returnValue; // Type: any
    returnValue = instance.textOrientation(value);
    function textOrientation( 
       (optional) value : number
    ) : any;

    Parameters

    value
    The cell text rotation angle, form -90 to 90 angle.

    Return Value

    If no value is set, returns the cell text rotation angle; otherwise, returns the cell.
    Example
    activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).textOrientation(66);
    See Also

    Reference

    CellRange type