TX Text Control .NET for Windows Forms

StringStreamType 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 a certain text format that can be stored as a string. The enumeration contains the following values:

Syntax

[Flags]
public enum StringStreamType

Members

MemberValueDescription
CascadingStylesheet256Specifies CSS format (Cascading Style Sheet). This format can only be used in saving operations.
HTMLFormat4Specifies HTML format (Hypertext Markup Language).
PlainText16Specifies Text in Windows Unicode format (an end of a paragraph is marked with the control characters 13 and 10).
RichTextFormat8Specifies RTF format (Rich Text Format).
XMLFormat128Specifies XML format (Extensible Markup Language).

Examples

The following example selects the Rich Text Format value from the String Stream Type enumeration and uses it as a documented workflow choice.

StringStreamType value = StringStreamType.RichTextFormat;
Console.WriteLine($"Using String Stream Type: {value}");

See Also

TextControl.Load Method, WPF.TextControl.Load Method, ServerTextControl.Load Method, TextControl.Save Method, WPF.TextControl.Save Method, ServerTextControl.Save Method.

Further Reading

  • RichTextBox Compatible Data Binding with TX Text Control –
  • MailMerge: Creating Separate Documents from Multiple Data Records –
  • TX Text Control Web: Attaching Events to Ribbon Elements –
  • Reporting: Merge Formatted HTML into Merge Fields –