function FindFirst(const Text: WString; Options: TSearchOptions= []; StartIndex: Integer= 0; DirectionUp: Boolean= True): Integer;
-1 if the text is not found.Memulai pencarian teks pada halaman saat ini. Panggil metode ini sebelum memakai FindNext atau FindPrevious untuk mengiterasi kecocokan berikutnya. Setiap panggilan ke FindFirst menyetel ulang handle pencarian internal.
Untuk menyorot semua kemunculan secara visual tanpa mengiterasi, gunakan HighlightSearchText.
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;