# FontFamilyDefinition Interface

> FontFamilyDefinition interface in the TX Sheet Control TypeScript API for the browser: A selectable font family and its available faces.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > FontFamilyDefinition Interface
- **419 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/llms-full.txt

---

A selectable font family and its available faces; fallback is used while a display face loads.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [displayName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/displayname-property/llms-full.txt) | The displayName value of FontFamilyDefinition. |
| [faces](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/faces-property/llms-full.txt) | The faces value of FontFamilyDefinition. |
| [fallback](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/fallback-property/llms-full.txt) | The fallback value of FontFamilyDefinition. |
| [family](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/family-property/llms-full.txt) | The family value of FontFamilyDefinition. |

### Examples

Pass the FontFamilyDefinition value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { FontFamilyDefinition } from '@txtextcontrol/tx-sheet-control';

function inspectFontFamilyDefinitionFamily(fontFamilyDefinition: FontFamilyDefinition) {
    const value = fontFamilyDefinition['family'];
    console.log('FontFamilyDefinition.family', value);
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)

---

## In This Section

- [FontFamilyDefinition.displayName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/displayname-property/llms-full.txt): FontFamilyDefinition.displayName property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [FontFamilyDefinition.faces Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/faces-property/llms-full.txt): FontFamilyDefinition.faces property in the TX Sheet Control TypeScript API for the browser, with its type FontFaceDefinition[] and a TypeScript example.
- [FontFamilyDefinition.fallback Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/fallback-property/llms-full.txt): FontFamilyDefinition.fallback property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [FontFamilyDefinition.family Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/family-property/llms-full.txt): FontFamilyDefinition.family property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.

---

## Nearby

- **Previous:** [FontFaceDefinition.weight Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfacedefinition/weight-property/llms-full.txt)
- **Next:** [FontFamilyDefinition.displayName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontfamilydefinition/displayname-property/llms-full.txt)
