TX Text Control .NET for WPF

GetItem Method

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

Description

Gets the table at the current input position. To get a particular table with a certain identifier use the base class's implementation TableBaseCollection.GetItem.

Syntax

public Table GetItem();

Return Value

The return value is the requested table. It is null if there is no table at the current input position.

Examples

The following example works with tables in the current document by using TableCollection.GetItem.

TableCollection tableCollection = textControl.Tables;
tableCollection.Add(3, 3, 10);

Table result = tableCollection.GetItem(100);
result?.Select();