property Find: FPDF_SCHHANDLE; // read only
Looks for Pattern from PageNum onwards (the current page when -1) and hands back the global character index of the first hit
Gives -1 when nothing matches; after a hit, call Find again with the next start index to keep searching incrementally, or drive TPdfView's FindNext for an interactive UI
Wraps the matching PDFium API and surfaces it as a TPdf instance member, so you never have to juggle raw FPDF_DOCUMENT handles yourself
Pdf1.Active before page-scoped calls; operations that need an open document raise EPdfError otherwiseSaveAs to persist your changesPDFium (LoadLibrary / UnloadLibrary / GetRecommendedV8Flags) can be called without a TPdf instance
if Pdf1.Active then
if Pdf1.Find <> nil then Pdf1.FindNext;