Skip to main content

SectionLineNumbering.CountBy Property

Gets or sets the line number increments to be displayed in the current document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

int CountBy { get; set; }

Property Value

Type Description
Int32

An integer by which the line number increments.

Remarks

The CountBy property specifies which lines will display a line number. By default, it is set to zero and line numbering is suppressed. To switch the line numbering on, specify the CountBy as a non-zero positive integer. For a line number on every line, set the CountBy to 1.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CountBy property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also