枚举类的使用
com.grapecity.documents.excel.CellTypeTextAlign
-
com.grapecity.documents.excel中CellTypeTextAlign的使用
修饰符和类型方法说明static CellTypeTextAlign
CellTypeTextAlign.getCellTypeTextAlign
(int value) 返回复选框/单选列表单元格的文本对齐方式。CheckBoxListCellType.getTextAlign()
获取复选框列表的文本对齐方式,仅支持左侧和右侧。RadioButtonListCellType.getTextAlign()
获取单选按钮列表位置的文字,仅支持左右。static CellTypeTextAlign
返回带有指定名称的该类的枚举常量。static CellTypeTextAlign[]
CellTypeTextAlign.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明void
CheckBoxListCellType.setTextAlign
(CellTypeTextAlign textAlign) 设置复选框列表的文本对齐方式,只支持左右对齐。void
RadioButtonListCellType.setTextAlign
(CellTypeTextAlign textAlign) 设置单选按钮列表的位置文本,只支持左对齐和右对齐。