Tables Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Gets a collection of all tables contained in the document. The property's value is an object of the type TableCollection.
Syntax
public TableCollection Tables { get; }Public ReadOnly Property Tables As TableCollectionExamples
The following example creates a table and fills each cell with its row and column coordinates.
textControl.Tables.Add(2, 3, 10);
foreach (TableCell cell in textControl.Tables[1].Cells)
{
cell.Text = $"Row {cell.Row}, column {cell.Column}";
}textControl.Tables.Add(2, 3, 10)
For Each cell As TableCell In textControl.Tables(1).Cells
cell.Text = $"Row {cell.Row}, column {cell.Column}"
NextLimitations
Runtime only.
Read only.