# BinaryStreamType Enumeration

> Determines a certain text format that must tbe stored in a one-dimensional byte array. The enumeration contains the following values:

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl.Web`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web > BinaryStreamType Enumeration
- **699 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/binarystreamtype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/binarystreamtype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/binarystreamtype/enumeration/llms-full.txt

---

### Description

Determines a certain text format that must tbe stored in a one-dimensional byte array. The enumeration contains the following values:

### Syntax

```csharp
[Flags]
public enum BinaryStreamType
```

```vbnet
<Flags>
Public Enum BinaryStreamType
```

### Members

| 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.

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

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

### See Also

[Web.TextControl.LoadText](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/loadtext-method/llms-full.txt) Method, [Web.TextControl.SaveText](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/savetext-method/llms-full.txt) Method.

---

## Nearby

- **Previous:** [TextControlSettings.Width Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/width-property/llms-full.txt)
- **Next:** [DockStyle Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/dockstyle/enumeration/llms-full.txt)
