function HighlightSearchText(const Text: WString; MatchCase: Boolean= False; MatchWholeWord: Boolean= False): Integer;
Mirrors TPdfView.HighlightSearchText. The TPdfView component forwards the call to its underlying Pdf instance and refreshes the view if the call mutates the document.
All semantic notes from TPdfView.HighlightSearchText apply identically here; the only difference is that you address the operation through the visual control instead of the model object.
Když je TPdfView vázáno na externí TPdf (přiřazením PdfView1.Pdf := Pdf1), čtení tohoto členu vrací stejná data jako Pdf1.HighlightSearchText; když TPdfView vlastní svůj interní TPdf, je tento člen jediným veřejným přístupovým bodem
UpdatePage v zobrazení; nastavení přes podkladový TPdf nikoliv — v takovém případě nezapomeňte ručně zavolat PdfView1.UpdatePagePdfView1.Active rovno False
if PdfView1.Active then
Memo1.Lines.Add('HighlightSearchText = ' + VarToStr(PdfView1.HighlightSearchText));