Skip to main content
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.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

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