BinaryStreamType 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 must tbe stored in a one-dimensional byte array. The enumeration contains the following values:
Syntax
[]
public enum BinaryStreamType<Flags>
Public Enum BinaryStreamTypeMembers
| 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. |
| 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. |
| WordprocessingML | 1024 | Specifies Microsoft Word format (Office Open XML version). |
| SpreadsheetML | 4096 | Not 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}");Dim value As TXTextControl.Web.BinaryStreamType = TXTextControl.Web.BinaryStreamType.InternalFormat
Console.WriteLine($"Using Binary Stream Type: {value}")See Also
Web.TextControl.LoadText Method, Web.TextControl.SaveText Method.