RichTextBoxStreamType
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Specifies the format of the content loaded into or saved from a RichTextBox.
- C#
- VB.NET
public enum RichTextBoxStreamType
Public Enum RichTextBoxStreamType
Select one of the named values, such as RichText, Html, PlainText. The member descriptions define the behavior of each value.
Fields
| Name | Description | Value |
|---|---|---|
| Html | An HTML fragment; unsupported elements, scripts and event attributes are removed. | |
| Markdown | Markdown (CommonMark with GitHub tables and strikethrough); HTML in the text is shown as text. | |
| PlainText | Plain text without formatting; line breaks become paragraphs. | |
| RichText | Rich Text Format (RTF) content. |
Used By
| Name | Description |
|---|---|
| RichTextBox.Format | Gets or sets the format of Text and of the content passed to Append and Insert. |
| RichTextBox.Append | Appends content in the given format: plain text as AppendText, the other formats as AppendHtml. |
| RichTextBox.Insert | Replaces the selection in the browser with content in the given format, like InsertText for plain text and InsertHtml for the other formats. |
| RichTextBox.LoadFile | Replaces the content with a file. |
| RichTextBox.SaveFile | Writes the content to a file. |