# StreamType Enumeration

> Determines a certain text format. The enumeration contains the following values:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > StreamType Enumeration
- **1144 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/streamtype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/streamtype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/streamtype/enumeration/llms-full.txt

---

### Description

Determines a certain text format. The enumeration contains the following values:

### Syntax

```csharp
[Flags]
public enum StreamType
```

```vbnet
<Flags>
Public Enum StreamType
```

### 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-winforms/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. |
| AllFormats | 32768 | Specifies whether an 'All Formats' item is added to the Load dialog. Selecting that item displayes all files that can be chosen by the dialog. |
| CascadingStylesheet | 256 | Specifies CSS format (Cascading Style Sheet). This format can only be used in saving operations. |
| HTMLFormat | 4 | Specifies HTML format (Hypertext Markup Language). |
| 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 (.DOC version). |
| PlainAnsiText | 1 | Specifies text in Windows ANSI format (an end of a paragraph is marked with the control characters 13 and 10). |
| PlainText | 16 | Specifies text in Windows Unicode format (an end of a paragraph is marked with the control characters 13 and 10). |
| RichTextFormat | 8 | Specifies RTF format (Rich Text Format). |
| SpreadsheetML | 4096 | Specifies Microsoft Excel format (Office Open XML version). |
| WordprocessingML | 1024 | Specifies Microsoft Word format (Office Open XML version). |
| XMLFormat | 128 | Specifies XML format (Extensible Markup Language). |
| All | 8191 | Not 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.

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

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

### See Also

[TextControl.Load](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/servertextcontrol/load-method/llms-full.txt) Method, [TextControl.Save](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/servertextcontrol/save-method/llms-full.txt) Method.

---

## Nearby

- **Previous:** [StatusBar.ShowZoomTrackBar Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar/showzoomtrackbar-property/llms-full.txt)
- **Next:** [StringStreamType Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/stringstreamtype/enumeration/llms-full.txt)
