Skip to main content
.NET Framework 4.5.2+

SubDocument.Length Property

Gets the character length of the document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


int Length { get; }

Property Value

Type Description

An integer that is the number of character positions in the document.


The Length property yields a performance gain compared to the SubDocument.Range.Length notation that uses the DocumentRange.Length property.

See Also