ResetForeColor 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
Resets the ForeColor property to its default value. The default value is the system color for the window text.
Syntax
public void ResetForeColor();Public Sub ResetForeColor()Examples
The following example restores the fore color setting on the server text control to its default. The created object is then available to the surrounding document workflow.
textControl.ResetForeColor();
Console.WriteLine("Server Text Control is ready for use.");textControl.ResetForeColor()
Console.WriteLine("Server Text Control is ready for use.")