[]
SpreadJS provides CSS classes that let you customize the visual style of print-related lines in the worksheet. You can override these classes to change the line color and width for print preview lines, page break lines, and print area lines.
CSS Class | Description |
|---|---|
| Controls the style of print preview lines. |
| Controls the style of page break lines. |
| Controls the style of print area lines. |
Override the corresponding CSS class and set border-color and border-width.
.sjs-print-line {
border-color: green;
border-width: 2px;
}
.sjs-print-page-break {
border-color: skyblue;
border-width: 2px;
}
.sjs-print-area {
border-color: pink;
border-width: 2px;
}The following image shows customized print-related lines.

This customization is implemented through CSS.
CSS-based print line customization is not imported or exported.