Skip to content

[mxcad_2d API documentation] (../README. md)/[2d] (../modules/2d. md)/ICellStyle

Interface: ICellStyle ​

2d.ICellStyle

Cell Style Interface

Table of contents ​

Properties ​

Properties ​

alignment ​

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


backgroundColor ​

• Optional backgroundColor: null | number


borderLineType ​

• Optional borderLineType: string

Border line type Cell border line type names, such as "Continuous", "Dashed", "Dotted", etc


borderLineWeight ​

• Optional borderLineWeight: number

Border line width Cell border line width, in millimeters


textAngle ​

• Optional textAngle: number

Text perspective Text rotation angle, measured in degrees (0-360)


textColor ​

• Optional textColor: null | number


textStyle ​

• Optional textStyle: string

Text Style Name Specify the name of the text style to be used


verticalAlignment ​

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