TX Text Control .NET for WPF

Clear Method

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

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();
}