THotPDF.SearchLoadedDocumentText Method

 

THotPDF.SearchLoadedDocumentText

THotPDF

 

Top

Finds every occurrence of a specified text (Needle) across the whole document. Each match records the glyph range, the user-space origin/width, and the source token index. Returns True if matches are found.

 

Delphi syntax:

function SearchLoadedDocumentText(const Needle: UnicodeString; CaseSensitive: boolean; out AMatches: THPDFTextMatchArray): boolean;

 

Description

Finds every occurrence of a specified text (Needle) across the whole document. Each match records the glyph range, the user-space origin/width, and the source token index. Returns True if matches are found.