# ExportCellStyle (@salmonui/core/export-model)

> The ExportCellStyle interface of @salmonui/core/export-model.

Canonical: https://salmonui.dev/docs/reference/core/export-model/ExportCellStyle

```ts
import type { ExportCellStyle } from '@salmonui/core/export-model';
```

Entry index: https://salmonui.dev/docs/reference/core/export-model (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/export-model.md).

## Reference

Kind: interface

```ts
interface ExportCellStyle {
    readonly bold?: boolean;
    readonly italic?: boolean;
    readonly color?: string;
    readonly backgroundColor?: string;
    readonly textAlign?: 'start' | 'center' | 'end';
    readonly fontSize?: number;
    readonly numberFormat?: string;
    readonly indent?: number;
}
```

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `bold` | `readonly bold?: boolean;` | optional |  |
| `italic` | `readonly italic?: boolean;` | optional |  |
| `color` | `readonly color?: string;` | optional | `#rrggbb`. |
| `backgroundColor` | `readonly backgroundColor?: string;` | optional | `#rrggbb`. |
| `textAlign` | `readonly textAlign?: 'start' \| 'center' \| 'end';` | optional |  |
| `fontSize` | `readonly fontSize?: number;` | optional |  |
| `numberFormat` | `readonly numberFormat?: string;` | optional | Excel number format code (XLSX only), e.g. `#,##0.00`. |
| `indent` | `readonly indent?: number;` | optional | Indent levels of the text (XLSX alignment indent; PDF one font size per level). |
