Skip to content

ExcelCellStyle

Since v2.0.0

Style definition for an Excel cell.

PropertyTypeDescription
font?{ name?: string; size?: number; bold?: boolean; italic?: boolean; color?: string }Font configuration
fill?{ color: string; pattern?: Solid | None }Fill / background color
numberFormat?stringNumber 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