# FontCatalog Class

> FontCatalog class in the TX Sheet Control .NET API: A runtime snapshot shared by browser font loading and independent PDF rendering.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > FontCatalog Class
- **983 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/llms-full.txt

---

A runtime snapshot shared by browser font loading and independent PDF rendering.

### Syntax

```csharp
public class FontCatalog
```

### Members

#### Constructors

| Constructor | Description |
|---|---|
| [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/constructor/llms-full.txt) |  |

#### Properties

| Property | Description |
|---|---|
| [Families](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/families-property/llms-full.txt) | Families discovered from the actual deployed font files. |
| [Revision](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/revision-property/llms-full.txt) | SHA-256 revision of the descriptors and discovery diagnostics. |
| [Version](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/version-property/llms-full.txt) | Catalog wire-format version. Currently 1. |
| [Warnings](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/warnings-property/llms-full.txt) | Unsupported files, duplicate faces and default-instance variable-font notices. |

### Examples

Obtain FontCatalog from a real document operation. Return the detached result to the calling report, API response or application.

```csharp
using TXTextControl.TXSheetControl.Server;

async Task<FontCatalog> ReadReportFontCatalogAsync(ServerSheetControl control)
{
    var book = control.Workbook;
    var sheet = await book.Sheets.AtAsync(0);
    await sheet.Cell("B8").SetValueAsync(120);
    await sheet.Cell("B9").SetValueAsync(80);
    await sheet.Cell("B10").SetFormulaAsync("=SUM(B8:B9)");
    await sheet.Cell("A1").SetTextAsync("October invoice");
    await sheet.Cell("A1").FormatAsync(new { fontFamily = "Liberation Sans", fontSize = 16, bold = true, textColor = "#ffffff", fillColor = "#163b63" });
    await sheet.Range("B8:B10").FormatAsync(new { numberFormatCode = "#,##0.00", fontFamily = "Liberation Sans", fontSize = 11 });

    var result = await control.GetFontCatalogAsync();
    return result;
}
```

### See Also

- [TXTextControl.TXSheetControl.Server Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)

---

## In This Section

- [FontCatalog Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/constructor/llms-full.txt): FontCatalog constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [FontCatalog.Families Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/families-property/llms-full.txt): FontCatalog.Families property in the TX Sheet Control .NET API: Families discovered from the actual deployed font files.
- [FontCatalog.Revision Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/revision-property/llms-full.txt): FontCatalog.Revision property in the TX Sheet Control .NET API: SHA-256 revision of the descriptors and discovery diagnostics.
- [FontCatalog.Version Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/version-property/llms-full.txt): FontCatalog.Version property in the TX Sheet Control .NET API: Catalog wire-format version. Currently 1. Covers its type int and a C# example.
- [FontCatalog.Warnings Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/warnings-property/llms-full.txt): FontCatalog.Warnings property in the TX Sheet Control .NET API: Unsupported files, duplicate faces and default-instance variable-font notices.

---

## Nearby

- **Previous:** [FillOptions.Step Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/filloptions/step-property/llms-full.txt)
- **Next:** [FontCatalog Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/fontcatalog/constructor/llms-full.txt)
