property FormSelectionRects: TPdfFormSelectionRects read GetFormSelectionRects;
FormSelectionRects 會傳回自上次清除以來表單層回報的 TPdfFormSelectionRect 累積陣列;每個項目都帶有自 1 起算的 PageNumber 與頁面空間的 Bounds
連續重複的矩形會被抑制,因此陣列中每個不同的選取矩形只有一個項目
ClearFormSelectionRects 重設OnFormSelectionRect 即時通知for R in Pdf1.FormSelectionRects do
DrawFocusRing(R.PageNumber, R.Bounds);