PDFium Component Docs

Find property

Component: TPdf  ·  Unit: PDFium
Pretražuje uzorak Pattern počevši od PageNum ili od trenutačne stranice ako je -1, te vraća globalni indeks znaka prve podudarnosti

Syntax

property Find: FPDF_SCHHANDLE; // read only

Description

Searches for Pattern starting from PageNum (or the current page if -1) and returns the global character index of the first match.

Returns -1 if not found. After a match, call Find with the next start index for incremental search, or use FindNext on TPdfView for an interactive UI.

Omotava odgovarajući PDFium API i izlaže ga kao član instance TPdf tako da korisnici ne moraju izravno upravljati FPDF_DOCUMENT ručkama.

Remarks

Example

if Pdf1.Active then
  Pdf1.Find;

See Also

FindNext, FindPrevious, TSearchOption