property OnFormSelectionRect: TPdfFormSelectionRectEvent read FOnFormSelectionRect write FOnFormSelectionRect;
OnFormSelectionRect는 포커스된 필드에 대해 폼 레이어가 보고하는 서로 다른 선택 사각형마다 한 번씩 발생합니다. 핸들러는 1 기반 PageNumber와 페이지 공간 Bounds를 담은 TPdfFormSelectionRect를 받습니다
연속된 중복은 억제되며, 보고된 모든 사각형은 FormSelectionRects가 노출하는 목록에도 추가됩니다
procedure(Sender: TObject; const SelectionRect: TPdfFormSelectionRect) of objectFormSelectionRects를 사용하세요ClearFormSelectionRects를 호출하세요procedure TMain.Pdf1FormSelectionRect(Sender: TObject; const SelectionRect: TPdfFormSelectionRect);
begin
HighlightSelection(SelectionRect.PageNumber, SelectionRect.Bounds);
end;