ContentLine Class
- Namespace
TXTextControl.DocumentServer. PDF. Contents
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.dll
Description
The ContentLine class implements the text coordinates in a PDF document.
Syntax
public class ContentLinePublic Class ContentLineExamples
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;Dim contentLine As New TXTextControl.DocumentServer.PDF.Contents.ContentLine()
contentLine.Page = 10Members
Constructors
| Constructor | Description |
|---|---|
| ContentLine | Initializes a new instance of the ContentLine class. |
Properties
| Property | Description |
|---|---|
| Height | Returns the height of the line in Points. |
| Page | Returns the page number that contains the line. |
| Rectangle | Returns the rectangle bounds of the line. |
| Text | Returns the text of the line. |
| Width | Returns the width of the line in Points. |
| X | Returns the horizontal coordinate of the line in Points. |
| Y | Returns the vertical coordinate of the line in Points. |