StringStreamType Enumeration
- Namespace
TXTextControl.Web
- Package
TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb
- Assembly
TXTextControl.Web. DocumentEditor. dll
- Install
dotnet add package TXTextControl.Web
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 HTMLFormat and retains that choice for the related document-processing operation.
TXTextControl.Web.StringStreamType value = TXTextControl.Web.StringStreamType.HTMLFormat;
Console.WriteLine($"Using String Stream Type: {value}");Dim value As TXTextControl.Web.StringStreamType = TXTextControl.Web.StringStreamType.HTMLFormat
Console.WriteLine($"Using String Stream Type: {value}")See Also
Web.TextControl.LoadText Method, Web.TextControl.SaveText Method.