TX Text Control .NET for Windows Forms

AppendSettings Enumeration

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

Description

Determines how text is appended to the document. The enumeration contains the following values:

Syntax

[Flags]
public enum AppendSettings

Members

MemberValueDescription
None0The loaded text is inserted at the end of the last paragraph of the existing document.
StartWithNewParagraph4A new paragraph is created at the end of the document and the text is inserted in this paragraph.
StartWithNewSection8A new section is created at the end of the document and the text is inserted in this section.

Examples

The following example selects the Start With New Paragraph value from the Append Settings enumeration and uses it as a documented workflow choice.

AppendSettings value = AppendSettings.StartWithNewParagraph;
Console.WriteLine($"Using Append Settings: {value}");

See Also

TextControl.Append Method, WPF.TextControl.Append Method, ServerTextControl.Append Method.