Remove Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Removes the table at the current text input position. To remove a particular table with a certain identifier use the base class's implementation TableBaseCollection.Remove.
Syntax
public bool Remove();Public Function Remove() As BooleanReturn Value
The return value is true, if a table could be removed. Otherwise it is false.
Examples
The following example works with tables in the current document by using TableCollection.Remove.
TableCollection tableCollection = textControl.Tables;
tableCollection.Add(3, 3, 10);
if (tableCollection.Remove(100))
{
Console.WriteLine("Remove completed successfully.");
}Dim tableCollection As TableCollection = textControl.Tables
tableCollection.Add(3, 3, 10)
If tableCollection.Remove(100) Then
Console.WriteLine("Remove completed successfully.")
End If