# SaveSettings.DialogSettings Enumeration

> Determines additional options in a file Save As... dialogbox. It contains the following values:

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 31.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.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 for WPF > Reference > TXTextControl > SaveSettings.DialogSettings Enumeration
- **600 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/dialogsettings-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/dialogsettings-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/dialogsettings-enumeration/llms-full.txt

---

### Description

Determines additional options in a file `Save As...` dialogbox. It contains the following values:

### Syntax

```csharp
public enum SaveSettings.DialogSettings
```

```vbnet
Public Enum SaveSettings.DialogSettings
```

### Members

| Member | Value | Description |
|---|---|---|
| None | 0 | The dialogbox does not show additional options. |
| EnterPassword | 1 | PDF only: The dialogbox offers a button which opens a dialogbox to specify an encryption password. This button is shown only, if the user selects `Adobe PDF` as the file format to save the document. The `Adobe PDF/A` file format does not support encryption passwords. |
| StylesheetOptions | 2 | HTML only: The dialogbox offers buttons to specify how to save formatting styles: Inline or in a separate file. These buttons are shown only, if the user selects `Hypertext Markup Language` as the file format to save the document. |
| SaveSelection | 4 | The dialogbox offers a checkbox indicating that only the currently selected text is saved. This checkbox is shown only, if a text selection exists when the dialogbox is opened. |

### Examples

The following example selects the Enter Password value from the Dialog Settings enumeration and uses it as a documented workflow choice.

```csharp
SaveSettings.DialogSettings value = SaveSettings.DialogSettings.EnterPassword;
Console.WriteLine($"Using Dialog Settings: {value}");
```

```vbnet
Dim value As SaveSettings.DialogSettings = SaveSettings.DialogSettings.EnterPassword
Console.WriteLine($"Using Dialog Settings: {value}")
```

---

## Nearby

- **Previous:** [SaveSettings.CssSaveMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/csssavemode-property/llms-full.txt)
- **Next:** [SaveSettings.DigitalSignature Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/digitalsignature-property/llms-full.txt)
