.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SubDocument.CreateRange(DocumentPosition, Int32) Method

Creates a new document range using the specified start position and range length.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

DocumentRange CreateRange(
    DocumentPosition start,
    int length
)
Function CreateRange(
    start As DocumentPosition,
    length As Integer
) As DocumentRange

Parameters

Name Type Description
start DocumentPosition

A DocumentPosition object specifying the start position.

length Int32

An integer value specifying the range length.

Returns

Type Description
DocumentRange

A DocumentRange object.

See Also