​
​
​

Gets or sets the color used for the numbers of the ruler.

Syntax

​public Color ForeColor { get; set; }
​Public Property ForeColor As Color

Examples

The following example uses a ForeColor property and sets its value to Yellow.

​TXTextControl.RulerBar.Colors  rulerBarColors = new TXTextControl.RulerBar.Colors();

rulerBarColors.BackColor = TXTextControl.RulerBar.Colors.White;
rulerBarColors.ForeColor = TXTextControl.RulerBar.Colors.Yellow;
​Dim rulerBarColors As TXTextControl.RulerBar.Colors = New TXTextControl.RulerBar.Colors()

rulerBarColors.BackColor  = TXTextControl.RulerBar.Colors.White
rulerBarColors.ForeColor  = TXTextControl.RulerBar.Colors.Yellow

End Sub
​