TX Text Control .NET for Windows Forms

Lines Class

Class|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.Contents
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.

Description

The Lines class implements functionality to find DocumentServer.PDF.Contents.ContentLine objects in a PDF document.

Syntax

public class Lines

Examples

The following example creates a Lines instance for a document-processing operation. The created object is then available to the surrounding document workflow.

TXTextControl.DocumentServer.PDF.Contents.Lines lines = new("document.docx");
Console.WriteLine("Lines is ready for use.");

Members

Constructors

ConstructorDescription
LinesInitializes a new DocumentServer.PDF.Contents.Lines class.

Properties

PropertyDescription
ContentLinesReturns a list of DocumentServer.PDF.Contents.ContentLine objects in the PDF document.

Methods

MethodDescription
FindPerforms a search in the DocumentServer.PDF.Contents.Lines.ContentLines list using a string value, a regular expression or by performing a search in a geometric location.