TX Text Control .NET Server

PlainTextContentControl Constructor

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

Description

Initializes a new instance of the PlainTextContentControl class.

Syntax

PlainTextContentControl()

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

public PlainTextContentControl();

PlainTextContentControl(ApplicationField)

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

public PlainTextContentControl(ApplicationField appField);
ParameterDescription
appField

Specifies the ApplicationField to be adapted.

Examples

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

TXTextControl.DocumentServer.Fields.PlainTextContentControl plainTextContentControl = new();
plainTextContentControl.Text = "Quarterly results";