TX Text Control .NET Server

Width 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 width of the cell.

Syntax

public int Width { get; set; }

Examples

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

textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableCell tableCell = table.Cells[2, 2];

tableCell.Width = 100;
tableCell.Select();