# registerFontFamily Type

> registerFontFamily type alias in the TX Sheet Control TypeScript API for Node.js, with the parameter family and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > registerFontFamily Type
- **311 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/registerfontfamily/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/registerfontfamily/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/registerfontfamily/llms-full.txt

---

Public type for registerFontFamily.

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

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Syntax

```typescript
registerFontFamily(family: string): void
```

### Parameters

| Parameter | Type | Optional | Description |
|---|---|---|---|
| `family` | `string` | No | Canonical OpenType family name, independent of its file path. |

### Return Value

`void`.

### Examples

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

```typescript
function inspectregisterFontFamily(registerFontFamily: { value: unknown }) {
    const value = registerFontFamily;
    console.log('registerFontFamily.value', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)

---

## Nearby

- **Previous:** [Range.values Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/range/values-property/llms-full.txt)
- **Next:** [RemoveDuplicatesOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/removeduplicatesoptions/llms-full.txt)
