PDFium Component Docs

FontAscent-egenskap

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

Syntax

property FontAscent[Index: Integer; FontSize: Single]: Single;

Description

Mirrors TPdf.FontAscent. TPdfView-komponenten videresender kallet til sin underliggende Pdf instans og oppdaterer visningen hvis kallet endrer dokumentet

All semantic notes from TPdf.FontAscent apply identically here; the only difference is that you address the operation through the visual control instead of the model object.

Når TPdfView er bundet til en ekstern TPdf (tilordning PdfView1.Pdf := Pdf1), returnerer lesing av dette medlemmet samme data som Pdf1.FontAscent; når TPdfView eier sin interne TPdf, er dette medlemmet den eneste offentlige tilgangsfunksjonen

Remarks

Example

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

See Also

FontAscent, Pdf, Active