property OnFormSelectionRect: TPdfFormSelectionRectEvent read FOnFormSelectionRect write FOnFormSelectionRect;
OnFormSelectionRect fires once for each distinct selection rectangle the form layer reports for the focused field. The handler receives a TPdfFormSelectionRect with a one-based PageNumber and page-space Bounds
Consecutive duplicates are suppressed; every reported rectangle is also appended to the list exposed by FormSelectionRects
procedure(Sender: TObject; const SelectionRect: TPdfFormSelectionRect) of objectFormSelectionRects for batch redrawsClearFormSelectionRects when focus moves to another fieldprocedure TMain.Pdf1FormSelectionRect(Sender: TObject; const SelectionRect: TPdfFormSelectionRect);
begin
HighlightSelection(SelectionRect.PageNumber, SelectionRect.Bounds);
end;