# SaveSettings.DocumentTitle Property

> Sets the document's title that will be saved in the document.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > SaveSettings.DocumentTitle Property
- **571 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/documenttitle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/documenttitle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/documenttitle-property/llms-full.txt

---

### Description

Sets the document's title that will be saved in the document.

### Syntax

```csharp
public string DocumentTitle { get; set; }
```

```vbnet
Public Property DocumentTitle As String
```

### Examples

The following example configures how the current document is exported to WordprocessingML by using `SaveSettings.DocumentTitle`.

```csharp
textControl.Text = "Quarterly results";
SaveSettings saveSettings = new();

saveSettings.DocumentTitle = "Quarterly results";
if (!string.IsNullOrWhiteSpace(saveSettings.DocumentTitle))
{
    Console.WriteLine($"Document Title: {saveSettings.DocumentTitle}");
}

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings);
```

```vbnet
textControl.Text = "Quarterly results"
Dim saveSettings As New SaveSettings()

saveSettings.DocumentTitle = "Quarterly results"
If Not String.IsNullOrWhiteSpace(saveSettings.DocumentTitle) Then
    Console.WriteLine($"Document Title: {saveSettings.DocumentTitle}")
End If

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings)
```

---

## Nearby

- **Previous:** [SaveSettings.DocumentSubject Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/documentsubject-property/llms-full.txt)
- **Next:** [SaveSettings.ImageCompressionQuality Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/savesettings/imagecompressionquality-property/llms-full.txt)
