# WorkbookDocument Type

> WorkbookDocument type alias in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.

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

---

Public type for WorkbookDocument.

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
type WorkbookDocument = WorksheetDocument | MultiSheetDocument;
```

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

```typescript
const value = { format: 'tx-sheet', version: 1, rows: 100, columns: 12, cells: { Region: 2 } };
console.log(value);
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)

---

## Nearby

- **Previous:** [WorkbookCommand.method Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookcommand/method-property/llms-full.txt)
- **Next:** [WorkbookEventMap Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/workbookeventmap/llms-full.txt)
