TX Text Control .NET Server

BinaryStreamType 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 that must tbe stored in a one-dimensional byte array. The enumeration contains the following values:

Syntax

[Flags]
public enum BinaryStreamType

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.
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.
WordprocessingML1024Specifies Microsoft Word format (Office Open XML version).
SpreadsheetML4096Not described in the reference.

Examples

The following example selects InternalFormat and retains that choice for the related document-processing operation.

TXTextControl.Web.BinaryStreamType value = TXTextControl.Web.BinaryStreamType.InternalFormat;
Console.WriteLine($"Using Binary Stream Type: {value}");

See Also

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