StringStreamType Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
Description
Determines a certain text format that can be stored as a string. The enumeration contains the following values:
Syntax
[]
public enum StringStreamType<Flags>
Public Enum StringStreamTypeMembers
| Member | Value | Description |
|---|---|---|
| CascadingStylesheet | 256 | Specifies CSS format (Cascading Style Sheet). This format can only be used in saving operations. |
| HTMLFormat | 4 | Specifies HTML format (Hypertext Markup Language). |
| PlainText | 16 | Specifies Text in Windows Unicode format (an end of a paragraph is marked with the control characters 13 and 10). |
| RichTextFormat | 8 | Specifies RTF format (Rich Text Format). |
| XMLFormat | 128 | Specifies 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}");Dim value As StringStreamType = 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.