# FontManagerOptions.document Property

> FontManagerOptions.document property in the TX Sheet Control TypeScript API for Node.js, with its type Document | undefined and a TypeScript example.

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

---

The document value of FontManagerOptions.

Owner: [FontManagerOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontmanageroptions/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
document?: Document | undefined
```

Read through the owning object: `owner.document`. Follow the declared mutability and owning object lifetime.

### Examples

Configure FontManagerOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
function configureFontManagerOptions(document: Document) {
    const fontManagerSettings = { catalogURL: 'Invoice', document: document };
    console.log(fontManagerSettings['document']);
    return fontManagerSettings;
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [FontManagerOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontmanageroptions/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)

---

## Nearby

- **Previous:** [FontManagerOptions.catalogURL Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontmanageroptions/catalogurl-property/llms-full.txt)
- **Next:** [FontManagerOptions.FontFace Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontmanageroptions/fontface-property/llms-full.txt)
