# BinaryStreamType Enumeration

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > BinaryStreamType Enumeration
- **792 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/binarystreamtype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/binarystreamtype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/binarystreamtype/enumeration/llms-full.txt

---

### Description

Determines a certain text format that must be 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). How a PDF document is loaded depends on the [LoadSettings.PDFImportSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/pdfimportsettings-property/llms-full.txt) property. Only a complete document can be saved with this format. |
| AdobePDFA | 2048 | Specifies 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. |
| 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. |
| SpreadsheetML | 4096 | Specifies Microsoft Excel format (Office Open XML version). |
| WordprocessingML | 1024 | Specifies Microsoft Word format (Office Open XML version). |

### Examples

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

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

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

### See Also

[TextControl.Load](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/load-method/llms-full.txt) Method, [WPF.TextControl.Load](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/load-method/llms-full.txt) Method, [ServerTextControl.Load](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/load-method/llms-full.txt) Method, [TextControl.Save](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/save-method/llms-full.txt) Method, [WPF.TextControl.Save](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/save-method/llms-full.txt) Method, [ServerTextControl.Save](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/save-method/llms-full.txt) Method.

---

## Nearby

- **Previous:** [AutoSizeDirection Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/autosizedirection/enumeration/llms-full.txt)
- **Next:** [CannotTrackChangeEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/cannottrackchangeeventargs/llms-full.txt)
