# PdfTextLine class

> One line of a PdfTextLayout. Distances are points from the layout's top left corner.

Namespace: [PdfNetStack.Drawing](https://www.jadev-corp.com/api/pdfnetstack-drawing/)  
Assembly: PdfNetStack.dll  
Package: `PdfNetStack`

One line of a [PdfTextLayout](https://www.jadev-corp.com/api/pdfnetstack-drawing/pdftextlayout/). Distances are points from the layout's top left corner.

```csharp
public sealed class PdfTextLine
```

**Inheritance**

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[PdfTextLine](https://www.jadev-corp.com/api/pdfnetstack-drawing/pdftextline/)

## Properties

### <a id="PdfNetStack_Drawing_PdfTextLine_Baseline"></a> Baseline

The baseline.

```csharp
public double Baseline { get; }
```

#### Property Value

 [double](https://learn.microsoft.com/dotnet/api/system.double)

### <a id="PdfNetStack_Drawing_PdfTextLine_End"></a> End

Index just past the line, including the spaces and line feed that end it.

```csharp
public int End { get; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="PdfNetStack_Drawing_PdfTextLine_Height"></a> Height

Height of the line box.

```csharp
public double Height { get; }
```

#### Property Value

 [double](https://learn.microsoft.com/dotnet/api/system.double)

### <a id="PdfNetStack_Drawing_PdfTextLine_Left"></a> Left

Left edge of the text after alignment.

```csharp
public double Left { get; }
```

#### Property Value

 [double](https://learn.microsoft.com/dotnet/api/system.double)

### <a id="PdfNetStack_Drawing_PdfTextLine_Start"></a> Start

Index in [Text](https://www.jadev-corp.com/api/pdfnetstack-drawing/pdfparagraph/#PdfNetStack_Drawing_PdfParagraph_Text) of the line's first character.

```csharp
public int Start { get; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="PdfNetStack_Drawing_PdfTextLine_Top"></a> Top

Top of the line box.

```csharp
public double Top { get; }
```

#### Property Value

 [double](https://learn.microsoft.com/dotnet/api/system.double)

### <a id="PdfNetStack_Drawing_PdfTextLine_Width"></a> Width

Width of the text, without trailing spaces.

```csharp
public double Width { get; }
```

#### Property Value

 [double](https://learn.microsoft.com/dotnet/api/system.double)

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-drawing/pdftextline/
