property OnPaint: TNotifyEvent;
Fired after the view has finished painting the current page. The Sender parameter references the TPdfView instance that raised the event, so a single handler can serve multiple views by inspecting Sender.
Typical uses include: draw custom overlays (watermarks, redaction marks, search highlights) on the rendered page. Because the handler runs on the VCL main thread, you can update form controls and call other VCL APIs directly.
Handlers must return quickly — PDFium rendering and form filling occur on the same thread, and any delay here postpones the next page repaint.
TabStop ל-True אם אתה רוצה שפקד זה ישתתף במעבר מיקוד של מקש Tab כך שאירועי מקלדת יישלחו.PdfView1.OnPaint := MyHandler.Set Cursor / Set Caret תואמות ב-TPdfView כדי לשמור על משוב חזותי מסונכרן.
procedure TForm1.PdfViewOnPaint(Sender: TObject);
begin
// draw custom overlays (watermarks, redaction marks, search highlights) on the rendered page
Caption := Format('OnPaint on page %d', [PdfView1.PageNumber]);
end;