DialogSettings Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines additional options in a file Save As... dialogbox. It contains the following values:
Syntax
public enum SaveSettings.DialogSettingsPublic Enum SaveSettings.DialogSettingsMembers
| 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.
SaveSettings.DialogSettings value = SaveSettings.DialogSettings.EnterPassword;
Console.WriteLine($"Using Dialog Settings: {value}");Dim value As SaveSettings.DialogSettings = SaveSettings.DialogSettings.EnterPassword
Console.WriteLine($"Using Dialog Settings: {value}")