PDFium Delphi Component Docs

FormFieldTypeAt method

Component: TPdfView  ·  Unit: PDFium

Syntax

function FormFieldTypeAt(X, Y: Integer; out FieldType: TPdfFormFieldType): Boolean;

Description

Converts view pixel coordinates to page space and performs native PDFium form-field hit testing

Returns true and fills FieldType when a form widget is present, otherwise returns false with fiUnknown

Returns false when the view is inactive, no form event target exists, or coordinate conversion fails

See Also

TPdf.FormFieldTypeAtPoint, FormFieldInfoAt