FPDFPage_HasFormFieldAtPoint function
- FPDF_FORMHANDLE hHandle,
- FPDF_PAGE page,
- double page_x,
- double page_y,
Function: FPDFPage_HasFormFieldAtPoint Get the form field type by point. Parameters: hHandle - Handle to the form fill module. Returned by FPDFDOC_InitFormFillEnvironment(). page - Handle to the page. Returned by FPDF_LoadPage(). page_x - X position in PDF "user space". page_y - Y position in PDF "user space". Return Value: Return the type of the form field; -1 indicates no field. See field types above.
Implementation
@ffi.Native<
ffi.Int Function(FPDF_FORMHANDLE, FPDF_PAGE, ffi.Double, ffi.Double)
>()
external int FPDFPage_HasFormFieldAtPoint(
FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
double page_x,
double page_y,
);