TX Text Control .NET for Windows Forms

RichTextContentControl Constructor

Constructor|Introduced in 21.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the RichTextContentControl class.

Syntax

RichTextContentControl()

Initializes complete new instance of the RichTextContentControl class without a connection to an existing ApplicationField.

public RichTextContentControl();

RichTextContentControl(ApplicationField)

Initializes a new instance of the RichTextContentControl class with a connection to an existing ApplicationField.

public RichTextContentControl(ApplicationField appField);
ParameterDescription
appField

Specifies the ApplicationField to be adapted.

Examples

The following example creates a Rich Text Content Control instance and configures its text setting for a document workflow.

TXTextControl.DocumentServer.Fields.RichTextContentControl richTextContentControl = new();
richTextContentControl.Text = "Quarterly results";

Further Reading