TX Text Control .NET for WPF

Position Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets, in twips, the horizontal position of the cell.

Syntax

public int Position { get; set; }

Examples

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

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

tableCell.Position = 1;
tableCell.Select();