# StringStreamType Enumeration

> Determines a certain text format that can be stored as a string. 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 > StringStreamType Enumeration
- **693 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/stringstreamtype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/stringstreamtype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/stringstreamtype/enumeration/llms-full.txt

---

### Description

Determines a certain text format that can be stored as a string. The enumeration contains the following values:

### Syntax

```csharp
[Flags]
public enum StringStreamType
```

```vbnet
<Flags>
Public Enum StringStreamType
```

### Members

| Member | Value | Description |
|---|---|---|
| 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). |
| 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). |
| XMLFormat | 128 | Specifies XML format (Extensible Markup Language). |

### Examples

The following example selects the Rich Text Format value from the String Stream Type enumeration and uses it as a documented workflow choice.

```csharp
StringStreamType value = StringStreamType.RichTextFormat;
Console.WriteLine($"Using String Stream Type: {value}");
```

```vbnet
Dim value As StringStreamType = StringStreamType.RichTextFormat
Console.WriteLine($"Using String 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:** [StreamType Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/streamtype/enumeration/llms-full.txt)
- **Next:** [SubTextPart Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/subtextpart/llms-full.txt)
