[]
        
(Showing Draft Content)

GC.Spread.Sheets.CellTypes.TextAlign

Enumeration: TextAlign

Sheets.CellTypes.TextAlign

Specifies the text alignment for check box cells.

example

//This example creates a check box cell.
var cellType = new GC.Spread.Sheets.CellTypes.RadioButtonList();
cellType.items([{text:"a",value:1},{text:"b",value:2},{text:"c",value:3}]);
cellType.textAlign(GC.Spread.Sheets.CellTypes.TextAlign.left);
activeSheet.getCell(2, 2).cellType(cellType);

Table of contents

Enumeration members

Enumeration members

left

left = 2

Specifies text is on the left.


right = 3

Specifies text is on the right.