PdfView1.Canvas.TextOut(10, 10, 'Preview');
Canvas - TPdfView - PDFium Delphi Component
PDFium Delphi Component Docs

Canvas 속성

컴포넌트: TPdfView  ·  유닛: PDFium
page가 렌더링된 뒤 control이 제공하는 drawing canvas입니다

구문

property Canvas: TCanvas; // read only

설명

뷰어 컨트롤이 노출하는 런타임 읽기 전용 그리기 캔버스입니다

OnPaint 핸들러 안에서 렌더링된 PDF 페이지 위에 커스텀 오버레이를 그릴 때 사용하세요

참고 사항

예제

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

관련 항목

Active, Pdf, Options, Zoom