PDFium Delphi Component Docs

WebLink property

Component: TPdfView  ·  Unit: PDFium
TPdfView wrapper that forwards to TPdf.WebLink

Syntax

property WebLink[PageNumber, Index: Integer]: TWebLink;

Description

Mirrors TPdf.WebLink The TPdfView component passes the call through to its underlying Pdf instance and refreshes the display if the call alters the document

The behavioural notes from TPdf.WebLink apply here as well; the only difference is that you reach the operation through the visual control rather than the model object

When TPdfView is bound to an external TPdf, for example by assigning PdfView1.Pdf := Pdf1, reading this member returns the same data as Pdf1.WebLink without addressing the model component separately

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('WebLink = ' + PdfView1.WebLink[1, 0].Url);

See Also

WebLink, Pdf