property OnFormSelectionRect: TPdfFormSelectionRectEvent read FOnFormSelectionRect write FOnFormSelectionRect;
OnFormSelectionRect utlöses en gång för varje distinkt markeringsrektangel som formulärlagret rapporterar för det fokuserade fältet. Hanteraren tar emot en TPdfFormSelectionRect med ett ettbaserat PageNumber och Bounds i sidkoordinater
Dubbletter i följd undertrycks; varje rapporterad rektangel läggs också till i listan som FormSelectionRects exponerar
procedure(Sender: TObject; const SelectionRect: TPdfFormSelectionRect) of objectFormSelectionRects för omritningar i batchClearFormSelectionRects när fokus flyttas till ett annat fältprocedure TMain.Pdf1FormSelectionRect(Sender: TObject; const SelectionRect: TPdfFormSelectionRect);
begin
HighlightSelection(SelectionRect.PageNumber, SelectionRect.Bounds);
end;