AppendSettings Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.dll
Description
Determines how text is appended to the document. The enumeration contains the following values:
Syntax
[]
public enum AppendSettings<Flags>
Public Enum AppendSettingsMembers
| Member | Value | Description |
|---|---|---|
| None | 0 | The loaded text is inserted at the end of the last paragraph of the existing document. |
| StartWithNewParagraph | 4 | A new paragraph is created at the end of the document and the text is inserted in this paragraph. |
| StartWithNewSection | 8 | A 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}");Dim value As AppendSettings = AppendSettings.StartWithNewParagraph
Console.WriteLine($"Using Append Settings: {value}")See Also
TextControl.Append Method, WPF.TextControl.Append Method, ServerTextControl.Append Method.