SpreadJS Documentation
CheckBoxTextAlign Enumeration
GC.Spread.Sheets.CellTypes Namespace : CheckBoxTextAlign Enumeration
Specifies the text alignment for check box cells.
Members
MemberDescription
bottomSpecifies text is below the check box.
leftSpecifies text is to the left of the check box.
rightSpecifies text is to the right of the check box.
topSpecifies text is on top of the check box.
Example
This example creates a check box cell.
var cellType1 = new GC.Spread.Sheets.CellTypes.CheckBox();
cellType1.caption("caption");
cellType1.textTrue("true");
cellType1.textFalse("false");
cellType1.textIndeterminate("indeterminate");
cellType1.textAlign(GC.Spread.Sheets.CellTypes.CheckBoxTextAlign.bottom);
cellType1.isThreeState(true);
activeSheet.getCell(1, 1).cellType(cellType1);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.CellTypes.CheckBoxTextAlign

See Also

Reference

GC.Spread.Sheets.CellTypes Namespace