# ServerTextControl.DocumentSettings Property

> Gets a DocumentSettings object providing properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When a document is loaded this object is filled with such information and all values are automatically stored when the document is saved.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 29.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > ServerTextControl.DocumentSettings Property
- **348 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/documentsettings-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/documentsettings-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/documentsettings-property/llms-full.txt

---

### Description

Gets a [DocumentSettings](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/documentsettings/llms-full.txt) object providing properties which inform about general document settings, such as author and title, contained in the document the user is currently working on. When a document is loaded this object is filled with such information and all values are automatically stored when the document is saved.

### Syntax

```csharp
public DocumentSettings DocumentSettings { get; }
```

```vbnet
Public ReadOnly Property DocumentSettings As DocumentSettings
```

### Examples

The following example assigns document metadata before export.

```csharp
textControl.DocumentSettings.DocumentTitle = "Quarterly results";
textControl.DocumentSettings.Author = "Finance team";
```

```vbnet
textControl.DocumentSettings.DocumentTitle = "Quarterly results"
textControl.DocumentSettings.Author = "Finance team"
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [ServerTextControl.DocumentLoaded Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/documentloaded-event/llms-full.txt)
- **Next:** [ServerTextControl.DocumentTargetCreated Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/documenttargetcreated-event/llms-full.txt)
