PDFium Delphi Component Docs

FormSelectionRects 속성

컴포넌트: TPdf  ·  유닛: PDFium
포커스된 필드에 대해 폼 레이어가 보고한 선택 사각형 목록을 나타냅니다

구문

property FormSelectionRects: TPdfFormSelectionRects read GetFormSelectionRects;

설명

FormSelectionRects는 마지막 비우기 이후 폼 레이어가 보고한 누적 TPdfFormSelectionRect 배열을 반환합니다. 각 항목은 1부터 시작하는 PageNumber와 페이지 공간 Bounds를 담고 있습니다

연속된 중복 사각형은 제거되므로 배열에는 서로 다른 선택 사각형마다 하나의 항목이 들어 있습니다

참고 사항

예제

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

관련 항목

OnFormSelectionRect, ClearFormSelectionRects, FormHostCallbacks