StreamType 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. The enumeration contains the following values:
Syntax
[]
public enum StreamType<Flags>
Public Enum StreamTypeMembers
| Member | Value | Description |
|---|---|---|
| AdobePDF | 512 | Specifies Adobe Portable Document Format (PDF). If a document is loaded, only the text is imported. |
| AdobePDFA | 2048 | Specifies Adobe Portable Document Format Archive (PDF/A). This format can only be used in saving operations. |
| 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). |
| InternalFormat | 2 | Specifies the Text Control format. Text is stored in ANSI format. |
| InternalUnicodeFormat | 32 | Specifies the Text Control format. Text is stored in Unicode format. |
| MSWord | 64 | Specifies Microsoft Word format (.DOC version). |
| PlainAnsiText | 1 | Specifies text in Windows ANSI format (an end of a paragraph is marked with the control characters 13 and 10). |
| 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). |
| WordprocessingML | 1024 | Specifies Microsoft Word format (Office Open XML version). |
| XMLFormat | 128 | Specifies XML format (Extensible Markup Language). |
| SpreadsheetML | 4096 | Not described in the reference. |
| All | 8191 | Not described in the reference. |
Examples
The following example selects PlainAnsiText and retains that choice for the related document-processing operation.
TXTextControl.Web.StreamType value = TXTextControl.Web.StreamType.PlainAnsiText;
Console.WriteLine($"Using Stream Type: {value}");Dim value As TXTextControl.Web.StreamType = TXTextControl.Web.StreamType.PlainAnsiText
Console.WriteLine($"Using Stream Type: {value}")See Also
Web.TextControl.LoadText Method, Web.TextControl.SaveText Method.