TPDFlibSearchHit
Data Types
Description
TPDFlibSearchHit is a record structure representing a query result found during a text search on a page, storing the match coordinates and the surrounding text.
Syntax
Delphi
type TPDFlibSearchHit = record
Page: Integer;
Left: Double;
Top: Double;
Right: Double;
Bottom: Double;
MatchText: WideString;
end;Fields
| Page | The 1-based page number where the search text match was found. |
|---|---|
| Left | The horizontal left coordinate of the hit bounding box. |
| Top | The vertical top coordinate of the hit bounding box. |
| Right | The horizontal right coordinate of the hit bounding box. |
| Bottom | The vertical bottom coordinate of the hit bounding box. |
| MatchText | The surrounding line of page text that matched the search query. |