Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
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.v20.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