Skip to main content
All docs
V25.2
  • TextAreaBase.FindText(String, TextSearchOptions) Method

    Finds all occurrences of the specified text in the text area with given search options.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public IList<TextRange> FindText(
        string text,
        TextSearchOptions options = null
    )

    Parameters

    Name Type Description
    text String

    Text to find.

    Optional Parameters

    Name Type Default Description
    options TextSearchOptions null

    Options for the text search.

    Returns

    Type Description
    IList<TextRange>

    A list of text ranges that are occurrences of the specified text.

    See Also