PDFiumVCL 文档

Canvas property

此 API 条目保留标识符、签名、代码块和 PDF 术语的原始形式。
Component: TPdfView  ·  Unit: PDFium
Drawing canvas exposed by the control after a page is rendered.

Syntax

property Canvas: TCanvas;

Description

Drawing canvas exposed by the control after a page is rendered.

Use in OnPaint to overlay custom graphics on the rendered page.

All TPdfView display properties trigger a repaint when assigned; you can change several in sequence without flicker because the redraw is coalesced into a single invalidation.

Remarks

Example

begin
  PdfView1.Canvas := {value};
  PdfView1.Active := True;
end;

See Also

Active, Pdf, Options, Zoom