TX Text Control .NET for WPF

DialogSettings Enumeration

Enumeration|Introduced in 31.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

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

Syntax

public enum SaveSettings.DialogSettings

Members

MemberValueDescription
None0The dialogbox does not show additional options.
EnterPassword1PDF 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.
StylesheetOptions2HTML 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.
SaveSelection4The 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}");