var instance = new GC.Spread.Sheets.CellTypes.CheckBox();
function CheckBox;
var instance = new GC.Spread.Sheets.CellTypes.CheckBox();
function CheckBox;
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);
Object
GC.Spread.Sheets.CellTypes.CheckBox
| Name | Description | |
|---|---|---|
![]() | CheckBox Constructor | Represents a check box cell. |
| Name | Description | |
|---|---|---|
![]() | caption | Gets or sets the caption of the cell type. |
![]() | isThreeState | Gets or sets a value that indicates whether the check box supports three states. |
![]() | textAlign | Gets or sets the text alignment relative to the check box. |
![]() | textFalse | Gets or sets the text in the cell when the cell's value is false. |
![]() | textIndeterminate | Gets or sets the text in the cell when the cell's value is indeterminate (neither true nor false). |
![]() | textTrue | Gets or sets the text in the cell when the cell's value is true. |