TX Text Control .NET Server

Text Property

Property|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.Contents
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

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}");
}