TX Text Control .NET for Windows Forms

ContentLines 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 a list of DocumentServer.PDF.Contents.ContentLine objects in the PDF document.

Syntax

public List<ContentLine> ContentLines { get; }

Examples

The following example iterates through the content lines collection and processes each content line.

foreach (TXTextControl.DocumentServer.PDF.Contents.ContentLine contentLine in lines.ContentLines)
{
    contentLine.Text = "Quarterly results";
}