PDFium Component Docs

Canvas プロパティ

この API エントリでは識別子、シグネチャ、コードブロック、PDF 用語を元の表記のまま保持します。
コンポーネント: TPdfView  ·  ユニット: PDFium
Drawing canvas exposed by the control after a page is rendered.

構文

property Canvas: TCanvas;

説明

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

OnPaint 内で使用し、レンダリング済みページにカスタムグラフィックスを重ねます

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.

備考

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

関連項目

Active, Pdf, Options, Zoom