Skip to main content
A newer version of this page is available. .

ParagraphPropertiesBase.SuppressLineNumbers Property

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

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

bool? SuppressLineNumbers { get; set; }

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