PDFiumVCL Docs

Canvas property

Deze API-entry behoudt identifiers, signatures, codeblokken en PDF-termen in hun oorspronkelijke vorm.
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