menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextSearchResult - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextSearchResult

    Represents the search result obtained from the text search functionality.

    Inheritance
    System.Object
    TextSearchResult
    Namespace: Syncfusion.Maui.PdfViewer
    Assembly: Syncfusion.Maui.PdfViewer.dll
    Syntax
    public class TextSearchResult : Object

    Properties

    CurrentMatchIndex

    Gets the index of the current match. The values ranges from 0 to (TotalMatchesCount -1).

    Declaration
    public int CurrentMatchIndex { get; }
    Property Value
    Type
    System.Int32

    TotalMatchesCount

    Gets the count of the total matches found for the given text.

    Declaration
    public int TotalMatchesCount { get; }
    Property Value
    Type
    System.Int32

    Methods

    Clear()

    Clears the highlighted searched text in the PDF document and the search information from the results. Also, it cancels the progress while the text search is running.

    Declaration
    public void Clear()

    GoToNextMatch()

    Navigates to the next match of the searched text.

    Declaration
    public void GoToNextMatch()

    GoToPreviousMatch()

    Navigates to the previous match of the searched text.

    Declaration
    public void GoToPreviousMatch()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved