Enum FontFamily
Specifies the font family to apply to text in spreadsheet cells.
Namespace: Syncfusion.Blazor.Spreadsheet
Assembly: Syncfusion.Blazor.Spreadsheet.dll
Syntax
public enum FontFamily
Remarks
This enumeration is used with FontFamily to determine the typeface for cell text. Different font families provide varying visual styles and readability characteristics.
- Arial - Clean sans-serif font for general use.
- Calibri - Modern sans-serif font, default in Microsoft applications.
- TimesNewRoman - Classic serif font for formal documents.
- CourierNew - Monospaced font for code and technical content.
- Other fonts provide specialized styling for different content types.
When FontFamily is modified along with FontSize, row height is automatically adjusted to accommodate the new font dimensions.
Font availability may vary by system and browser. If a specified font is unavailable, the system uses a default fallback font.
Fields
| Name | Description |
|---|---|
| Algerian | Displays text using Algerian decorative display font. |
| Arial | Displays text using the widely available Arial sans-serif font. |
| Calibri | Displays text using Calibri modern sans-serif font. |
| Cambria | Displays text using Cambria serif font. |
| CambriaMath | Displays text using Cambria Math specialized font. |
| Candara | Displays text using Candara humanist sans-serif font. |
| CourierNew | Displays text using Courier New monospaced serif font. |
| Georgia | Displays text using Georgia serif font. |
| Impact | Displays text using Impact bold condensed sans-serif font. |
| SegoePrint | Displays text using Segoe Print handwriting-style font. |
| SegoeScript | Displays text using Segoe Script flowing script font. |
| SegoeUI | Displays text using Segoe UI modern sans-serif font. |
| Symbol | Displays text using Symbol specialized character font. |
| TimesNewRoman | Displays text using Times New Roman classic serif font. |
| Verdana | Displays text using Verdana sans-serif font. |
| Windings | Displays text using Windings dingbat symbol font. |