# StreamType Enumeration

> StreamType enumeration in the TX Sheet Control TypeScript API for Node.js, with its syntax, its 6 values and a TypeScript example.

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

---

Public enumeration for StreamType.

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

ES module import: `import { StreamType } from '@txtextcontrol/tx-sheet-control-server';`.

### Members

| Member | Value |
|---|---|
| `SpreadsheetML` | `StreamType.SpreadsheetML` |
| `InternalWorkbookFormat` | `StreamType.InternalWorkbookFormat` |
| `PDF` | `StreamType.PDF` |
| `CSV` | `StreamType.CSV` |
| `XML` | `StreamType.XML` |
| `JSON` | `StreamType.JSON` |
| `OpenDocumentSpreadsheet` | `StreamType.OpenDocumentSpreadsheet` |

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

console.log(StreamType.PDF);
```

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

### OpenDocument Spreadsheet

Select this value for binary `.ods` input and output.

```javascript
const ods = await editor.save(StreamType.OpenDocumentSpreadsheet);
```

---

## Nearby

- **Previous:** [SpreadsheetOptions.highlightDependents Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/spreadsheetoptions/highlightdependents-property/llms-full.txt)
- **Next:** [Table Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/table/llms-full.txt)
