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

DocumentLayout.GetText(LayoutElement) Method

Gets the plain text contained in the range to which the layout element relates.

Namespace: DevExpress.XtraRichEdit.API.Layout

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

Declaration

public static string GetText(
    LayoutElement element
)

Parameters

Name Type Description
element LayoutElement

A LayoutElement descendant.

Returns

Type Description
String

A string that is the text contained in the corresponding range.

See Also