PDFium Delphi Component Docs

WebLinkCount Propiedad

Componente: TPdfView  ·  Unidad: PDFium
Envoltorio de TPdfView que reenvía a TPdf.WebLinkCount

Sintaxis

property WebLinkCount[PageNumber: Integer]: Integer;

Descripción

Refleja TPdf.WebLinkCount. El componente TPdfView reenvía la llamada a su instancia Pdf subyacente y refresca la vista si la llamada muta el documento

Todas las notas semánticas de TPdf.WebLinkCount se aplican aquí de forma idéntica; la única diferencia es que dirige la operación a través del control visual en lugar del objeto modelo

Cuando TPdfView está enlazado a un TPdf externo (asignando PdfView1.Pdf := Pdf1), leer este miembro devuelve los mismos datos que Pdf1.WebLinkCount sin tener que acudir por separado al componente modelo

Observaciones

Ejemplo

if PdfView1.Active then
  Memo1.Lines.Add('WebLinkCount = ' + IntToStr(PdfView1.WebLinkCount[1]));

Véase también

WebLinkCount, Pdf, Active