TX Text Control .NET Server

StreamType Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

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). How a PDF document is loaded depends on the LoadSettings.PDFImportSettings property. Only a complete document can be saved with this format.
AdobePDFA2048Specifies Adobe Portable Document Format Archive (PDF/A). This format can only be used in saving operations and only a complete document can be saved with this format.
AllFormats32768Specifies whether an 'All Formats' item is added to the Load dialog. Selecting that item displayes all files that can be chosen by the dialog.
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).
SpreadsheetML4096Specifies Microsoft Excel format (Office Open XML version).
WordprocessingML1024Specifies Microsoft Word format (Office Open XML version).
XMLFormat128Specifies XML format (Extensible Markup Language).
All8191Not described in the reference.

Examples

The following example selects the Wordprocessing ML value from the Stream Type enumeration and uses it as a documented workflow choice.

StreamType value = StreamType.WordprocessingML;
Console.WriteLine($"Using 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.