Back to Devexpress

DocumentLayout.GetText(LayoutElement) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-layout-dot-documentlayout-dot-gettext-x28-devexpress-dot-xtrarichedit-dot-api-dot-layout-dot-layoutelement-x29.md

latest1.6 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public static string GetText(
    LayoutElement element
)
vb
Public Shared Function GetText(
    element As LayoutElement
) As String

Parameters

NameTypeDescription
elementLayoutElement

A LayoutElement descendant.

|

Returns

TypeDescription
String

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

|

See Also

DocumentLayout Class

DocumentLayout Members

DevExpress.XtraRichEdit.API.Layout Namespace