ResetFont Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Resets the Font property to its default value. The default value is 10 pt Arial.
Syntax
public void ResetFont();Public Sub ResetFont()Examples
The following example restores the font setting on the server text control to its default. The created object is then available to the surrounding document workflow.
textControl.ResetFont();
Console.WriteLine("Server Text Control is ready for use.");textControl.ResetFont()
Console.WriteLine("Server Text Control is ready for use.")