property OnFormSelectionRect: TPdfFormSelectionRectEvent read FOnFormSelectionRect write FOnFormSelectionRect;
OnFormSelectionRect si attiva una volta per ogni rettangolo di selezione distinto che il layer dei moduli riporta per il campo con focus. Il gestore riceve un TPdfFormSelectionRect con un PageNumber in base uno e Bounds nello spazio pagina
I duplicati consecutivi vengono soppressi; ogni rettangolo riportato viene inoltre aggiunto all'elenco esposto da FormSelectionRects
procedure(Sender: TObject; const SelectionRect: TPdfFormSelectionRect) of objectFormSelectionRects per i ridisegni in bloccoClearFormSelectionRects quando il focus passa a un altro campoprocedure TMain.Pdf1FormSelectionRect(Sender: TObject; const SelectionRect: TPdfFormSelectionRect);
begin
HighlightSelection(SelectionRect.PageNumber, SelectionRect.Bounds);
end;