ExcelCellStyle
Since v2.0.0
Style definition for an Excel cell.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
font? | { name?: string; size?: number; bold?: boolean; italic?: boolean; color?: string } | Font configuration |
fill? | { color: string; pattern?: Solid | None } | Fill / background color |
numberFormat? | string | Number format string (Excel format codes) |
alignment? | { horizontal?: Left | Center | Right; vertical?: Center | Top | Bottom; wrapText?: boolean } | Text alignment |
borders? | { top?: ExcelBorder; bottom?: ExcelBorder; left?: ExcelBorder; right?: ExcelBorder } | Cell borders |