PDFium Component Docs

HighlightSearchText funkce

Component: TPdfView  ·  Unit: PDFium
Obal TPdfView, který předává volání na TPdfView.HighlightSearchText

Syntax

function HighlightSearchText(const Text: WString; MatchCase: Boolean= False; MatchWholeWord: Boolean= False): Integer;

Description

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

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('HighlightSearchText = ' + VarToStr(PdfView1.HighlightSearchText));

See Also

HighlightSearchText, Pdf