# DocumentFontSource.family Property

> DocumentFontSource.family property in the TX Sheet Control TypeScript API for Node.js: Font family used by the workbook; styles retain this name.

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

---

Font family used by the workbook; styles retain this name.

### Syntax

```typescript
family: 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 Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontsource/llms-full.txt)
- **Next:** [DocumentFontSource.base64 Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/documentfontsource/base64-property/llms-full.txt)
