TX Text Control .NET for Windows Forms

ResetDisplayColors Method

Method|Introduced in 15.1
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Resets all display colors of a ruler bar to their system dependent default values.

Syntax

public void 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.");