PDFium Delphi Component Docs

FormSelectionRects プロパティ

コンポーネント: TPdf  ·  ユニット: PDFium
フォーカスされたフィールドについてフォームレイヤーが報告した選択矩形を一覧表示します

構文

property FormSelectionRects: TPdfFormSelectionRects read GetFormSelectionRects;

説明

FormSelectionRects は、最後にクリアされてからフォームレイヤーが報告した TPdfFormSelectionRect 配列の累積を返します。各エントリは 1 始まりの PageNumber とページ空間の Bounds を保持します

連続する重複矩形は抑制されるため、配列には異なる選択矩形ごとに 1 つのエントリが含まれます

備考

例

for R in Pdf1.FormSelectionRects do
  DrawFocusRing(R.PageNumber, R.Bounds);

関連項目

OnFormSelectionRect, ClearFormSelectionRects, FormHostCallbacks