Search results

SearchResult API in JavaScript (ES5) PDF Viewer API control

The SearchResult provides the page index along with an array of bounds that indicate the locations of the search text identified on that page.

Properties

bounds

IPdfRectBounds[]

Returns the bounds of the search text.

pageIndex

number

Returns the page index of the search text.