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 into page space and carries out native PDFium form-field hit testing

Returns true and populates 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 the coordinate conversion fails

See Also

TPdf.FormFieldTypeAtPoint, FormFieldInfoAt