TX Text Control .NET Server

ResetDisplayColors Method

Method|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

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 view generator to its default. The created object is then available to the surrounding document workflow.

rulerBarViewGenerator.ResetDisplayColors();
Console.WriteLine("Ruler Bar View Generator is ready for use.");