PDFiumVCL 文件

FontHandle property

此 API 條目保留識別符號、簽名、程式碼塊和 PDF 術語的原始形式。
Component: TPdfView  ·  Unit: PDFium
TPdfView wrapper that forwards to TPdf.FontHandle.

Syntax

property FontHandle; // forwards to underlying TPdf

Description

Mirrors TPdf.FontHandle. The TPdfView component forwards the call to its underlying Pdf instance and refreshes the view if the call mutates the document.

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

When TPdfView is bound to an external TPdf (assigning PdfView1.Pdf := Pdf1), reading this member returns the same data as Pdf1.FontHandle; when TPdfView owns its internal TPdf, this member is the only public accessor.

Remarks

Example

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

See Also

FontHandle, Pdf, Active