FPDFPage_HasFormFieldAtPoint function

  1. @Native<Int Function(FPDF_FORMHANDLE, FPDF_PAGE, Double, Double)>(FPDF_FORMHANDLE, FPDF_PAGE, ffi.Double, ffi.Double)>()
int FPDFPage_HasFormFieldAtPoint(
  1. FPDF_FORMHANDLE hHandle,
  2. FPDF_PAGE page,
  3. double page_x,
  4. 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,
);