[]
Sheets.CellTypes.CheckBoxTextAlign
指定复选框单元格的文本对齐方式。
example
//此示例创建一个复选框单元格。
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);
cellType1.boxSize(20);
activeSheet.getCell(1, 1).cellType(cellType1);
• bottom = 1
指定文本位于复选框下方。
• inside = 4
指定文本位于切换按钮内部。
• left = 2
指定文本位于复选框左侧。
• right = 3
指定文本位于复选框右侧。
• top = 0
指定文本位于复选框上方。