TX Text Control .NET Server

StringStreamType Enumeration

Enumeration
Namespace
TXTextControl.Web
Package
TXTextControl.Web from nuget.org, the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Web.DocumentEditor.dll
Install
dotnet add package TXTextControl.Web

Description

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

Syntax

[Flags]
public enum StringStreamType

Members

MemberValueDescription
CascadingStylesheet256Specifies CSS format (Cascading Style Sheet). This format can only be used in saving operations.
HTMLFormat4Specifies HTML format (Hypertext Markup Language).
PlainText16Specifies Text in Windows Unicode format (an end of a paragraph is marked with the control characters 13 and 10).
RichTextFormat8Specifies RTF format (Rich Text Format).
XMLFormat128Specifies XML format (Extensible Markup Language).

Examples

The following example selects HTMLFormat and retains that choice for the related document-processing operation.

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

See Also

Web.TextControl.LoadText Method, Web.TextControl.SaveText Method.

Further Reading

  • TX Text Control Web: Attaching Events to Ribbon Elements –
  • Reporting: Merge Formatted HTML into Merge Fields –