# 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 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 > StringStreamType Enumeration
- **616 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/stringstreamtype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/stringstreamtype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/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 `HTMLFormat` and retains that choice for the related document-processing operation.

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

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