# SaveOptions.EmbedUsedFonts Property

> SaveOptions.EmbedUsedFonts property in the .NET API: Includes resolved font files in an exported workbook without changing the document; defaults to false.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **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 > SaveOptions > SaveOptions.EmbedUsedFonts Property
- **328 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/saveoptions/embedusedfonts-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/saveoptions/embedusedfonts-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/saveoptions/embedusedfonts-property/llms-full.txt

---

Include resolved font files in an exported workbook without changing the current document. Defaults to `false` when omitted.

### Syntax

```csharp
public bool? EmbedUsedFonts { get; init; }
```

Applies to TXWB, XLSX and ODS. ServerSheetControl collects font bytes from document resources and its configured font directory. Substituted fonts are embedded under their real family names with aliases for the original workbook names. PDF already embeds rendering fonts. XLSX font resources use the TX extension, not Excel's own font-embedding feature. Embedding permissions and font size/count budgets remain enforced. Failure or cancellation does not modify the live workbook.

### Example

```csharp
using TXTextControl.TXSheetControl.Server;

static Task<byte[]> ExportPortableInvoiceAsync(ServerSheetControl control)
{
    return control.SaveAsync(StreamType.InternalWorkbookFormat,
        new SaveOptions { EmbedUsedFonts = true });
}
```

---

## Nearby

- **Previous:** [SaveOptions.Fonts Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/saveoptions/fonts-property/llms-full.txt)
- **Next:** [Search Class](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/search/llms-full.txt)
