GetItem Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
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();Public Function GetItem() As TableReturn 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();Dim tableCollection As TableCollection = textControl.Tables
tableCollection.Add(3, 3, 10)
Dim result As Table = tableCollection.GetItem(100)
If result IsNot Nothing Then result.Select()