# WorkbookOptions Interface

> WorkbookOptions interface in the browser TypeScript API: Initial document dimensions, growth policy, limits and optional synchronous formula provider.

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

---

Initial document dimensions, growth policy, limits and optional synchronous formula provider.

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

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

### Members

#### Properties

| Property | Description |
|---|---|
| [autoExpand](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/autoexpand-property/llms-full.txt) | Omitted counts enable growth. Explicit counts remain bounded unless autoExpand is true. |
| [cells](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/cells-property/llms-full.txt) | The cells value of WorkbookOptions. |
| [columns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/columns-property/llms-full.txt) | The columns value of WorkbookOptions. |
| [dateSystem](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/datesystem-property/llms-full.txt) | The dateSystem value of WorkbookOptions. |
| [formulaProvider](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/formulaprovider-property/llms-full.txt) | The formulaProvider value of WorkbookOptions. |
| [maxColumns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/maxcolumns-property/llms-full.txt) | The maxColumns value of WorkbookOptions. |
| [maxRows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/maxrows-property/llms-full.txt) | The maxRows value of WorkbookOptions. |
| [pageSetup](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/pagesetup-property/llms-full.txt) | The pageSetup value of WorkbookOptions. |
| [rows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/rows-property/llms-full.txt) | The rows value of WorkbookOptions. |
| [sheetName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/sheetname-property/llms-full.txt) | The sheetName value of WorkbookOptions. |
| [userName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/username-property/llms-full.txt) | Current comment author; runtime-only and excluded from saved document state. |

### Examples

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

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

const workbookSettings: WorkbookOptions = { rows: 100, columns: 12, sheetName: 'Invoice' };
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [WorkbookOptions.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/autoexpand-property/llms-full.txt): WorkbookOptions.autoExpand property in the TX Sheet Control TypeScript API for the browser: Omitted counts enable growth.
- [WorkbookOptions.cells Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/cells-property/llms-full.txt): WorkbookOptions.cells property in the browser TypeScript API, with its type Record<string, CellValue> | undefined and a TypeScript example.
- [WorkbookOptions.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/columns-property/llms-full.txt): WorkbookOptions.columns property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [WorkbookOptions.dateSystem Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/datesystem-property/llms-full.txt): WorkbookOptions.dateSystem property in the TX Sheet Control TypeScript API for the browser, with its type "1900" | "1904" | undefined and a TypeScript example.
- [WorkbookOptions.formulaProvider Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/formulaprovider-property/llms-full.txt): WorkbookOptions.formulaProvider property in the browser TypeScript API, with its type FormulaProvider | null | undefined and a TypeScript example.
- [WorkbookOptions.maxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/maxcolumns-property/llms-full.txt): WorkbookOptions.maxColumns property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [WorkbookOptions.maxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/maxrows-property/llms-full.txt): WorkbookOptions.maxRows property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [WorkbookOptions.pageSetup Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/pagesetup-property/llms-full.txt): WorkbookOptions.pageSetup property in the browser TypeScript API, with its type Record<string, unknown> | undefined and a TypeScript example.
- [WorkbookOptions.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/rows-property/llms-full.txt): WorkbookOptions.rows property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [WorkbookOptions.sheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/sheetname-property/llms-full.txt): WorkbookOptions.sheetName property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [WorkbookOptions.userName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/username-property/llms-full.txt): WorkbookOptions.userName property in the browser TypeScript API: Current comment author; runtime-only and excluded from saved document state.

---

## Nearby

- **Previous:** [WorkbookFeatures.pivotTables Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookfeatures/pivottables-property/llms-full.txt)
- **Next:** [WorkbookOptions.autoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookoptions/autoexpand-property/llms-full.txt)
