ResetDisplayColors Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Resets all display colors of a ruler bar to their system dependent default values.
Syntax
public void ResetDisplayColors();Public Sub ResetDisplayColors()Examples
The following example restores the display colors setting on the ruler bar to its default. The created object is then available to the surrounding document workflow.
rulerBar.ResetDisplayColors();
Console.WriteLine("Ruler Bar is ready for use.");rulerBar.ResetDisplayColors()
Console.WriteLine("Ruler Bar is ready for use.")