TX Text Control .NET Server

BottomTextDistance Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets or sets, in twips, the distance between the table cell's bottom border and its text.

Syntax

public int BottomTextDistance { get; set; }

Examples

The following example creates a small report table and works with its structure by using TableCellFormat.BottomTextDistance.

textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableCellFormat tableCellFormat = table.Cells[1, 1].CellFormat;

tableCellFormat.BottomTextDistance = 720;
Console.WriteLine($"Bottom Text Distance used by Table Cell Format: {tableCellFormat.BottomTextDistance}");