TX Text Control .NET for Windows Forms

Text Property

Property|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.Contents
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Returns the text of the line.

Syntax

public string Text { get; set; }

Examples

The following example uses ContentLine.Text to replace the content line's displayed content. The configured value is checked before the workflow continues.

contentLine.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(contentLine.Text))
{
    Console.WriteLine($"Text: {contentLine.Text}");
}