# DocumentFontSource.base64 Property

> DocumentFontSource.base64 property in the TX Sheet Control TypeScript API for Node.js: Base64-encoded TrueType-outline font bytes, limited to 32 MiB per face.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > DocumentFontSource > DocumentFontSource.base64 Property
- **232 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontsource/base64-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontsource/base64-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontsource/base64-property/llms-full.txt

---

Base64-encoded TrueType-outline font bytes, limited to 32 MiB per face.

### Syntax

```typescript
base64: string;
```

### Example

```typescript
import { StreamType, type ServerSheetControl, type DocumentFontSource } from '@txtextcontrol/tx-sheet-control-server';

async function loadInvoice(editor: ServerSheetControl, inputBytes: Uint8Array, fontBase64: string) {
    const face: DocumentFontSource = { family: 'Invoice Sans', base64: fontBase64 };
    await editor.load(inputBytes, StreamType.OpenDocumentSpreadsheet, { fonts: { sources: [face] } });
}
```

---

## Nearby

- **Previous:** [DocumentFontSource.family Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontsource/family-property/llms-full.txt)
- **Next:** [DocumentFontSource.bold Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontsource/bold-property/llms-full.txt)
