Skip to content

mxcad_2d API 文档 / 2d / ICellStyle

Interface: ICellStyle ​

2d.ICellStyle

单元格样式接口

Table of contents ​

Properties ​

Properties ​

alignment ​

• Optional alignment: "center" | "left" | "right"


backgroundColor ​

• Optional backgroundColor: null | number


borderLineType ​

• Optional borderLineType: string

边框线型 单元格边框线型名称,如"Continuous", "Dashed", "Dotted"等


borderLineWeight ​

• Optional borderLineWeight: number

边框线宽 单元格边框线宽,单位为毫米


textAngle ​

• Optional textAngle: number

文本角度 文本旋转角度,以度为单位(0-360)


textColor ​

• Optional textColor: null | number


textStyle ​

• Optional textStyle: string

文本样式名称 指定要使用的文字样式名称


verticalAlignment ​

• Optional verticalAlignment: "top" | "bottom" | "middle"