PDFium Delphi Component Docs

Canvas 属性

组件: TPdfView  ·  单元: PDFium
控件在页面渲染后暴露的绘图画布

语法

property Canvas: TCanvas; // read only

说明

查看器控件暴露的运行时只读绘图画布

在 OnPaint 处理器中使用,以便在已渲染的 PDF 页面上绘制自定义叠加图形

备注

示例

begin
  PdfView1.Active := True;
  PdfView1.Canvas.TextOut(10, 10, 'Preview');
end;

参见

Active, Pdf, Options, Zoom