TX Text Control .NET for Windows Forms

RulerBar Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies the horizontal ruler bar control to be used with a TextControl. The property value is null if there is no ruler bar connected. Otherwise it is an object of the type RulerBar.

Syntax

public RulerBar RulerBar { get; set; }

Examples

The following example uses TextControl.RulerBar to configure ruler bar as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.RulerBar = new RulerBar();
textControl.Update();