Skip to main content
Version: Version 5 beta

Interface: DocumentTextSearchResult

Represents the result of a text search within a document. Includes the matched text, context text surrounding the match, page number, and quadrilaterals outlining the position of the text on the page.

Properties

contextInfo

contextInfo: DocumentTextSearchResultContextInfo

The context info containing text that surrounds matched text.


pageNumber

pageNumber: number

The page number where the text was found.


quadrilaterals

quadrilaterals: Quadrilateral<PdfPoint>[]

Quadrilaterals outlining the position of the text on the page.


text

text: string

The matched text found during the search.