[mxcad_2d API documentation] (../README. md)/[2d] (../modules/2d. md)/ITableStyle
Interface: ITableStyle
2d.ITableStyle
Table Style Interface
Table of contents
Properties
- backgroundColor
- borderColor
- borderLineType
- borderLineWeight
- name
- outerBorderColor
- textAlignment
- textColor
- textHeight
- textStyle
- textVerticalAlignment
Properties
backgroundColor
• Optional backgroundColor: null | number
borderColor
• borderColor: number
borderLineType
• Optional borderLineType: string
Border line type Table border line type names, such as "Continuous", "Dashed", "Dotted", etc
borderLineWeight
• Optional borderLineWeight: number
Border line width Table border line width, in millimeters
name
• name: string
outerBorderColor
• Optional outerBorderColor: number
textAlignment
• Optional textAlignment: "center" | "left" | "right"
text alignment -'left': Left aligned -'center': center aligned -'right': Right aligned
textColor
• textColor: number
textHeight
• textHeight: number
textStyle
• Optional textStyle: string
Text Style Name Specify the name of the text style to be used
textVerticalAlignment
• Optional textVerticalAlignment: "top" | "bottom" | "middle"
Vertical alignment of text -'top ': top aligned -'middle ': vertically centered -'bottom': bottom alignment
