Remove 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
Removes the selected table rows or the row at the current text input position.
Syntax
public bool Remove();Public Function Remove() As BooleanReturn Value
The return value is true, if the rows could be removed. Otherwise it is false.
Examples
The following example creates a small report table and works with its structure by using TableRowCollection.Remove.
textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableRowCollection tableRowCollection = table.Rows;
if (tableRowCollection.Remove())
{
Console.WriteLine("Remove completed successfully.");
}textControl.Tables.Add(3, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
Dim tableRowCollection As TableRowCollection = table.Rows
If tableRowCollection.Remove() Then
Console.WriteLine("Remove completed successfully.")
End If