PDFium Delphi Component Docs

WebLinkCount property

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

Syntax

property WebLinkCount[PageNumber: Integer]: Integer;

Description

Mirrors TPdf.WebLinkCount. 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.WebLinkCount 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.WebLinkCount; when TPdfView owns its internal TPdf, this member is the only public accessor

Remarks

Example

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

See Also

WebLinkCount, Pdf, Active