property OnFormSelectionRect: TPdfFormSelectionRectEvent read FOnFormSelectionRect write FOnFormSelectionRect;
OnFormSelectionRect występuje raz dla każdego odrębnego prostokąta zaznaczenia, jaki warstwa formularzy zgłosi dla pola mającego fokus. Procedura obsługi otrzymuje TPdfFormSelectionRect z liczbą PageNumber od 1 oraz granicami Bounds w przestrzeni strony
Kolejne duplikaty są wyciszane; każdy zgłoszony prostokąt trafia również na listę udostępnianą przez FormSelectionRects
procedure(Sender: TObject; const SelectionRect: TPdfFormSelectionRect) of objectFormSelectionRects do wsadowego przerysowywaniaClearFormSelectionRects, gdy fokus przechodzi na inne poleprocedure TMain.Pdf1FormSelectionRect(Sender: TObject; const SelectionRect: TPdfFormSelectionRect);
begin
HighlightSelection(SelectionRect.PageNumber, SelectionRect.Bounds);
end;