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
| Property | | Description |
| Alignment | | Gets or sets a value specifying the alignment of the ruler bar in the document. |
| BorderStyle | | Gets or sets the border style of the ruler bar. |
| DisplayColors | | Gets or sets the colors of the ruler bar. |
| EnablePageMargins | | Enables or disables the setting of page margins. |
| ScaleUnit | | Gets or sets the unit of the ruler bar's scale. |
Methods
| Method | | Description |
| ResetDisplayColors | | Resets all display colors of a ruler bar to their system dependent default values. |
See Also