PdfCellStyle
Styling options for a PDF cell. Allows customization of colors, fonts, alignment, and text decorations.
Props
The following table outlines the props for the PdfCellStyle:
| Name | Type | Default | Description |
|---|---|---|---|
| bold | boolean | false | Flag indicating whether the text should be bold. |
| fontFamily | string | 'Helvetica' | Font family name for the cell text. Common values: 'Helvetica', 'Times New Roman', 'Courier', etc. |
| fontSize | number | 10 | Font size for the cell text in points. Example: 12 for 12pt font. |
| italic | boolean | false | Flag indicating whether the text should be italic. |
| strikethrough | boolean | false | Flag indicating whether the text should have strikethrough. |
| underline | boolean | false | Flag indicating whether the text should be underlined. |