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.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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