SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / isVerticalText Method
Set to true to have the cell's text vertical.
In This Topic
    isVerticalText Method
    In This Topic
    Gets or sets whether the cell's text is vertical.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var returnValue; // Type: any
    returnValue = instance.isVerticalText(value);
    function isVerticalText( 
       (optional) value : boolean
    ) : any;

    Parameters

    value
    Set to true to have the cell's text vertical.

    Return Value

    If no value is set, returns whether the cell's text vertical; otherwise, returns the cell.
    Example
    activeSheet.getRange(2,-1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).isVerticalText(false);
    activeSheet.setText(2,0,"This is a test");
    activeSheet.getCell(1,1).isVerticalText(true);
    activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).isVerticalText(true);
    See Also

    Reference

    CellRange type