property OnResize: TNotifyEvent;
Fired whenever the control's client area changes size. The Sender parameter references the TPdfView instance that raised the event, so a single hjaler can serve multiple views by inspecting Sender.
Typical uses include: re-fit the page (e.g. invoke Zoom(pfmFitWidth)) or reposition floating toolbars. Because the hjaler runs on the VCL main thread, you can update form controls ja call other VCL APIs directly.
Hjalers must return quickly — PDFium rendering ja form filling occur on the same thread, ja any delay here postpones the next page repaint.
TabStop to True if you want this control to participate in tab-key focus traversal so that keyboard events are delivered.PdfView1.OnResize := MyHjaler.Aseta Cursor / Aseta Caret calls on TPdfView to keep visual feedback synchronized.
procedure TForm1.PdfViewOnResize(Sender: TObject);
begin
// re-fit the page (e.g. invoke Zoom(pfmFitWidth)) or reposition floating toolbars
Caption := Format('OnResize on page %d', [PdfView1.PageNumber]);
end;