TX Text Control .NET Server

StreamType Enumeration

Enumeration
Namespace
TXTextControl.Web
Package
TXTextControl.Web from nuget.org, the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Web.DocumentEditor.dll
Install
dotnet add package TXTextControl.Web

Description

Determines a certain text format. The enumeration contains the following values:

Syntax

[Flags]
public enum StreamType

Members

MemberValueDescription
AdobePDF512Specifies Adobe Portable Document Format (PDF). If a document is loaded, only the text is imported.
AdobePDFA2048Specifies Adobe Portable Document Format Archive (PDF/A). This format can only be used in saving operations.
CascadingStylesheet256Specifies CSS format (Cascading Style Sheet). This format can only be used in saving operations.
HTMLFormat4Specifies HTML format (Hypertext Markup Language).
InternalFormat2Specifies the Text Control format. Text is stored in ANSI format.
InternalUnicodeFormat32Specifies the Text Control format. Text is stored in Unicode format.
MSWord64Specifies Microsoft Word format (.DOC version).
PlainAnsiText1Specifies text in Windows ANSI format (an end of a paragraph is marked with the control characters 13 and 10).
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).
WordprocessingML1024Specifies Microsoft Word format (Office Open XML version).
XMLFormat128Specifies XML format (Extensible Markup Language).
SpreadsheetML4096Not described in the reference.
All8191Not 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}");

See Also

Web.TextControl.LoadText Method, Web.TextControl.SaveText Method.