[]
        
首页
开发者学堂
文档
论坛
市场
生态机会
活动
在线咨询 立即试用
(Showing Draft Content)

GC.Spread.Sheets.CellTypes.CheckBoxTextAlign

Enumeration: CheckBoxTextAlign

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);

Table of contents

Enumeration members

Enumeration members

bottom

• bottom = 1

指定文本位于复选框下方。


inside

• inside = 4

指定文本位于切换按钮内部。


left

• left = 2

指定文本位于复选框左侧。


• right = 3

指定文本位于复选框右侧。


top

• top = 0

指定文本位于复选框上方。