FoxitPDFSDKforWeb v10.0.0
Foxit PDF SDK for Web
PageTextSearch Class Reference

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.

Foxit Software Corporation Logo
@2024 Foxit Software Incorporated. All rights reserved.