# Contents.ContentLine Class

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 29.0
- **Namespace:** `TXTextControl.DocumentServer.PDF.Contents`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DocumentServer.PDF > Contents.ContentLine Class
- **725 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/llms-full.txt

---

### Description

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

### Syntax

```csharp
public class ContentLine
```

```vbnet
Public Class ContentLine
```

### Examples

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

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

```vbnet
Dim contentLine As New TXTextControl.DocumentServer.PDF.Contents.ContentLine()
contentLine.Page = 10
```

---

## In This Section

- [Contents.ContentLine Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/constructor/llms-full.txt): Initializes a new instance of the ContentLine class.
- [Contents.ContentLine.Height Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/height-property/llms-full.txt): Returns the height of the line in Points.
- [Contents.ContentLine.Page Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/page-property/llms-full.txt): Returns the page number that contains the line.
- [Contents.ContentLine.Rectangle Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/rectangle-property/llms-full.txt): Returns the rectangle bounds of the line.
- [Contents.ContentLine.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/text-property/llms-full.txt): Returns the text of the line.
- [Contents.ContentLine.Width Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/width-property/llms-full.txt): Returns the width of the line in Points.
- [Contents.ContentLine.X Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/x-property/llms-full.txt): Returns the horizontal coordinate of the line in Points.
- [Contents.ContentLine.Y Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/y-property/llms-full.txt): Returns the vertical coordinate of the line in Points.

---

## Nearby

- **Previous:** [TXTextControl.DocumentServer.PDF.Contents namespace](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf-contents/llms-full.txt)
- **Next:** [Contents.ContentLine Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/contents-contentline/constructor/llms-full.txt)
