.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

ParagraphPropertiesBase.SuppressLineNumbers Property

Gets or sets whether to display line numbers for the paragraphs.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

bool? SuppressLineNumbers { get; set; }
Property SuppressLineNumbers As Boolean?

Property Value

Type Description
Nullable<Boolean>

true if line numbering is suppressed for all paragraphs; false if line numbers are displayed for all paragraphs in a range; or otherwise, null for a mixture of states.

Remarks

To enable line numbering, the SectionLineNumbering.CountBy value for the document section encompassing the current paragraph should be a positive integer greater than zero.

To obtain the ParagraphProperties interface for the specified document range, use the SubDocument.BeginUpdateParagraphs - SubDocument.EndUpdateParagraphs pair of methods.

See Also