PDFiumPas 文档

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 中使用,以便在已渲染页面上叠加自定义图形

所有 TPdfView 显示属性在赋值时都会触发重绘,因此你可以连续修改多个属性而不会闪烁,因为重绘会合并为一次失效

备注

示例

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

另请参阅

Active, Pdf, Options, Zoom