New to Telerik UI for WinFormsStart a free 30-day trial

Represents line numbering class.

Definition

Namespace:Telerik.WinForms.Documents.Model.LineNumberings

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class LineNumbering

Inheritance: objectLineNumbering

Constructors

Creating a new instance of the LineNumbering class with properties set to their default values.

C#
public LineNumbering()

Creating a new instance of the LineNumbering class.

C#
public LineNumbering(int start, double distance, int countBy, LineNumberingRestartType restart)
Parameters:startint

The line numbering starting value.

distancedouble

The distance between text and line numbering.

countByint

The line number increments to display.

restartLineNumberingRestartType

The line numbering restart type.

Creating a new instance of the LineNumbering class by passing the restart type and the rest of the properties set to their default values.

C#
public LineNumbering(LineNumberingRestartType restart)
Parameters:restartLineNumberingRestartType

The line numbering restart type.

Properties

Line number increments to display.

C#
public int CountBy { get; }

Distance between text and line numbering.

C#
public double Distance { get; }

Line numbering restart position.

C#
public LineNumberingRestartType Restart { get; }

Line numbering starting value.

C#
public int Start { get; }