# Javascript: SaveDocumentResult.streamType Property

> Specifies one of the StreamType values.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: SaveDocumentResult.streamType Property
- **174 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/savedocumentresult/streamtype-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/savedocumentresult/streamtype-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/savedocumentresult/streamtype-property/llms-full.txt

---

### Description

Specifies one of the [StreamType](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/streamtype-enumeration/llms-full.txt) values.

### Syntax

```javascript
<StreamType> SaveDocumentResult.streamType
```

### Examples

The following example demonstrates `SaveDocumentResult.streamType` in a practical document-editing workflow. It specifies one of the StreamType values.

```javascript
function inspectStreamType(saveDocumentResult) {
    const streamType = saveDocumentResult.streamType;
    console.log("stream type:", streamType);
}
```

---

## Nearby

- **Previous:** [Javascript: SaveDocumentResult.data Property](https://docs.textcontrol.com/ds-server/reference/javascript/savedocumentresult/data-property/llms-full.txt)
- **Next:** [SaveDocumentResultCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/savedocumentresultcallback/llms-full.txt)
