# Contents.ContentLine.Height Property

> Returns the height of the line in Points.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 29.0
- **Namespace:** `TXTextControl.DocumentServer.PDF.Contents`
- **Package:** `TXTextControl.TextControl.WPF.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 for WPF > Reference > TXTextControl.DocumentServer.PDF > Contents.ContentLine.Height Property
- **291 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/contents-contentline/height-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/contents-contentline/height-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/contents-contentline/height-property/llms-full.txt

---

### Description

Returns the height of the line in Points.

### Syntax

```csharp
public float Height { get; set; }
```

```vbnet
Public Property Height As Single
```

### Examples

The following example uses `ContentLine.Height` to configure height as part of the content line workflow. The configured value is checked before the workflow continues.

```csharp
contentLine.Height = 1.0f;
Console.WriteLine($"Height used by Content Line: {contentLine.Height}");
```

```vbnet
contentLine.Height = 1.0
Console.WriteLine($"Height used by Content Line: {contentLine.Height}")
```

---

## Nearby

- **Previous:** [Contents.ContentLine Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/contents-contentline/constructor/llms-full.txt)
- **Next:** [Contents.ContentLine.Page Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/contents-contentline/page-property/llms-full.txt)
