ComPDFKit Web SDK
    Preparing search index...

    Function searchText

    • Finds the next match (call again to find the following one).

      Parameters

      • searchValue: string

        The text to search.

      • Optionaloptions: string | SearchOptions

        Search options, or a string such as 'CaseSensitive,WholeWord'.

      Returns void

      instance.UI.searchText('total', 'CaseSensitive,WholeWord');
      // Call again to go to the next match
      instance.UI.searchText('total', 'CaseSensitive,WholeWord');