TX Text Control .NET Server

ContentLine Class

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

Description

The ContentLine class implements the text coordinates in a PDF document.

Syntax

public class ContentLine

Examples

The following example creates a Content Line instance and configures its page setting for a document workflow.

TXTextControl.DocumentServer.PDF.Contents.ContentLine contentLine = new();
contentLine.Page = 10;

Members

Constructors

ConstructorDescription
ContentLineInitializes a new instance of the ContentLine class.

Properties

PropertyDescription
HeightReturns the height of the line in Points.
PageReturns the page number that contains the line.
RectangleReturns the rectangle bounds of the line.
TextReturns the text of the line.
WidthReturns the width of the line in Points.
XReturns the horizontal coordinate of the line in Points.
YReturns the vertical coordinate of the line in Points.