TX Text Control .NET for Windows Forms Documentation

RulerBar Class

The RulerBar class represents a tool bar which can be used to show or to set indents, margins and tabs of a TextControl. It is inherited from the System.Windows.Forms.Control class. The following describes only the properties, methods and events defined through the RulerBar class. For a list of properties, methods and events inherited from the System.Windows.Forms.Control class see the .NET Framework reference.

Syntax

[C#] public class RulerBar : Control
[Visual Basic] Public Class RulerBar Inherits Control

Properties

PropertyDescription
AlignmentGets or sets a value specifying the alignment of the ruler bar in the document.
BorderStyleGets or sets the border style of the ruler bar.
DisplayColorsGets or sets the colors of the ruler bar.
EnablePageMarginsEnables or disables the setting of page margins.
ScaleUnitGets or sets the unit of the ruler bar's scale.

Methods

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

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now