function FindFirst(const Text: WString; Options: TSearchOptions= []; StartIndex: Integer= 0; DirectionUp: Boolean= True): Integer;
-1 si no se encuentra el textoInicia una búsqueda de texto en la página actual. Llame a este método antes de usar FindNext o FindPrevious para recorrer las coincidencias posteriores. Cada llamada a FindFirst restablece el identificador de búsqueda interno
Para resaltar visualmente todas las apariciones sin iterar, use HighlightSearchText en su lugar
var Pos: Integer;
begin
Pos := PdfView.FindFirst('invoice', [soMatchCase]);
while Pos >= 0 do
begin
Memo1.Lines.Add('Found at index: ' + IntToStr(Pos));
Pos := PdfView.FindNext;
end;
end;