PDFium Delphi Component Docs

ClearFormSelectionRects 메서드

컴포넌트: TPdf  ·  유닛: PDFium
누적된 폼 선택 사각형을 비웁니다

구문

procedure ClearFormSelectionRects;

설명

ClearFormSelectionRects는 FormSelectionRects가 반환한 목록을 비워서, 다음에 보고되는 사각형이 새로운 누적을 시작하게 합니다

포커스된 필드가 바뀔 때나 선택 오버레이를 다시 그리기 전에 호출하여 오래된 사각형이 그려지지 않도록 하세요

참고 사항

예제

Pdf1.ClearFormSelectionRects;
PdfView1.Invalidate;

관련 항목

FormSelectionRects, OnFormSelectionRect