PDFium Delphi Component Docs

FormFieldTypeAtPoint 메서드

컴포넌트: TPdf  ·  유닛: PDFium

Syntax

function FormFieldTypeAtPoint(X, Y: Double; out FieldType: TPdfFormFieldType): Boolean;

Description

PDFium 네이티브 페이지 공간 히트 테스트를 사용해 주석 핸들을 할당하지 않고 XY 위치의 폼 필드를 식별합니다

위젯이 있으면 true를 반환하고 FieldType을 채우며, 그렇지 않으면 false를 반환하고 FieldTypefiUnknown으로 설정합니다

TPdfFormFieldTypefiUnknown, fiPushButton, fiCheckBox, fiRadioButton, fiComboBox, fiListBox, fiTextField, fiSignature와 더불어 XFA 전용인 fiXfa, fiXfaCheckBox, fiXfaComboBox, fiXfaImageField, fiXfaListBox, fiXfaPushButton, fiXfaSignature, fiXfaTextField를 포괄합니다. XFA 전용 값은 불러온 PDFium 모듈이 XFA 지원으로 빌드되었고 문서에 XFA 필드가 있을 때만 나타납니다

활성 페이지와 초기화된 폼 필(form-fill) 환경이 필요합니다

See Also

폼 호스트 콜백, TPdfView.FormFieldTypeAt