PDFium Component Docs

OnWebLinkClick-tapahtuma

Component: TPdfView  ·  Unit: PDFium
Fired when the user clicks a text-detected web URL that is not auto-handled by LinkOptions.

Syntax

property OnWebLinkClick: TPdfViewWebLinkClickEvent;

Description

Fired when the user clicks a text-detected web URL that is not auto-handled by LinkOptions. Set Handled to True to suppress the built-in default behavior.

Kun LinkOptions-asetuksessa on vastaava automaattilippu käytössä, näkymä suorittaa navigoinnin/käynnistyksen automaattisesti eikä tätä tapahtumaa laukaista

Käsittelijät suoritetaan VCL-pääsäikeessä; navigointi voi siksi kutsua modaalisia valintaikkunoita tai päivittää lomakeohjaimia suoraan

Remarks

Example

procedure TForm1.PdfView1OnWebLinkClick(Sender: TObject; const Link: TWebLink; var Handled: Boolean);
begin
  // inspect Link and decide whether to navigate
  Handled := True;
end;

See Also

LinkOptions, OnAnnotationLinkClick, LinkAnnotation