TX Text Control .NET for Windows Forms

Height Property

Property|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.Contents
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Returns the height of the line in Points.

Syntax

public float Height { get; set; }

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.

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