Clear Method
- 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
Clears the selected text or the character right from the current input position.
Syntax
public void Clear();Public Sub Clear()Examples
The following example clears the current document only when it contains content.
if (textControl.Text.Length > 0)
{
textControl.Clear();
}If textControl.Text.Length > 0 Then
textControl.Clear()
End If