# SaveOptions.spreadsheetML Property

> SaveOptions.spreadsheetML property in the TX Sheet Control TypeScript API for Node.js, with its type XlsxExportOptions | undefined and a TypeScript example.

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

---

The spreadsheetML value of SaveOptions.

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

### Syntax

```typescript
spreadsheetML?: XlsxExportOptions | undefined
```

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

### Examples

Configure SaveOptions 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 { SaveOptions } from '@txtextcontrol/tx-sheet-control-server';

const saveSettings: SaveOptions = {
    pdf: { locale: 'de-DE', timeZone: 'UTC', title: 'Invoice' },
    spreadsheetML: { preserveOriginal: false },
};

console.log(saveSettings['spreadsheetML']);
```

### 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

- [SaveOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/saveoptions/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)
- [XlsxExportOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/xlsxexportoptions/llms-full.txt)

---

## Nearby

- **Previous:** [SaveOptions.signal Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/saveoptions/signal-property/llms-full.txt)
- **Next:** [SaveOptions.openDocumentSpreadsheet Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/saveoptions/opendocumentspreadsheet-property/llms-full.txt)
