function FindFirst(const Text: WString; Options: TSearchOptions= []; StartIndex: Integer= 0; DirectionUp: Boolean= True): Integer;
-1입니다현재 페이지에서 텍스트 검색을 시작합니다. 이후 일치 항목을 순회하려면 FindNext나 FindPrevious를 쓰기 전에 이 메서드를 호출하세요. FindFirst를 호출할 때마다 내부 검색 핸들이 리셋됩니다
순회하지 않고 모든 일치 항목을 화면에 표시하려면 대신 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;