TX Text Control .NET Server

Clear Method

Method|Introduced in 13.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Removes all tables contained in the collection from a Text Control document.

Syntax

public void Clear();

Examples

The following example removes all table objects from the collection and the document.

if (tableBaseCollection.Count > 0)
{
    tableBaseCollection.Clear();
}