property FormSelectionRects: TPdfFormSelectionRects read GetFormSelectionRects;
FormSelectionRects は、最後にクリアされてからフォームレイヤーが報告した TPdfFormSelectionRect 配列の累積を返します。各エントリは 1 始まりの PageNumber とページ空間の Bounds を保持します
連続する重複矩形は抑制されるため、配列には異なる選択矩形ごとに 1 つのエントリが含まれます
ClearFormSelectionRects を呼び出してリセットしてくださいOnFormSelectionRect を通じてリアルタイムにも通知されますfor R in Pdf1.FormSelectionRects do
DrawFocusRing(R.PageNumber, R.Bounds);