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

PageIl numero di pagina con base 1 where the search text match was found.
LeftLa coordinata orizzontale sinistra del bounding box di hit
TopLa coordinata verticale superiore del bounding box di hit
RightLa coordinata orizzontale destra del bounding box di hit
BottomLa coordinata verticale inferiore del bounding box di hit
MatchTextLa riga circostante del testo della pagina che corrisponde alla query di ricerca

See also

SearchText