# Javascript: TXTextControl.documentSettings Property

> The DocumentSettings class provides properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When such a document is saved with one of the Save methods all settings are automatically stored.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 29.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.documentSettings Property
- **223 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentsettings-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentsettings-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentsettings-property/llms-full.txt

---

### Description

The DocumentSettings class provides properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When such a document is saved with one of the Save methods all settings are automatically stored.

### Syntax

```javascript
<DocumentSettings> TXTextControl.documentSettings
```

### Examples

The following example demonstrates `TXTextControl.documentSettings` in a practical document-editing workflow. The DocumentSettings class provides properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When such a document is saved with one of the Save methods all settings are automatically stored.

```javascript
const documentSettings = tXTextControl.documentSettings;
console.log("document settings:", documentSettings);
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.documentPermissions Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documentpermissions-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.documentTargetMarkers Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/documenttargetmarkers-property/llms-full.txt)
