| FoxitPDFSDKforWeb v11.0.5 Archives Foxit PDF SDK for Web

Public Member Functions | List of all members
PageTextSearch Class Reference
PDF » search

search result extractor More...

## Public Member Functions
| destroy ()
| Destroy the search result extractor. More...
| findNext ()
| Find next matching result. More...
| findPrev ()
| Find the previous matching result. More...

## Detailed Description

search result extractor

See also
  PDFPage.getTextSearch

## Member Function Documentation

## ◆ destroy()

PageTextSearch::destroy | ( |  | ) |
| inline

Destroy the search result extractor.

Returns
  Promise<void> -

## ◆ findNext()

PageTextSearch::findNext | ( |  | ) |
| inline

Find next matching result.

Returns
  Promise<TextSearchMatch|null> - Returns TextSearchMatch if found more result, otherwise returns null.

## ◆ findPrev()

PageTextSearch::findPrev | ( |  | ) |
| inline

Find the previous matching result.

Returns
  Promise<TextSearchMatch|null> - Returns TextSearchMatch if found previous result, otherwise returns null.

@2025 Foxit Software Incorporated. All rights reserved.