FPDFAnnot_GetRect function

  1. @Native<FPDF_BOOL Function(FPDF_ANNOTATION, Pointer<FS_RECTF>)>(FPDF_ANNOTATION, ffi.Pointer<FS_RECTF>)>()
int FPDFAnnot_GetRect(
  1. FPDF_ANNOTATION annot,
  2. Pointer<FS_RECTF> rect
)

Experimental API. Get the annotation rectangle defining the location of the annotation.

annot - handle to an annotation. rect - receives the rectangle; must not be NULL.

Returns true if successful.

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_ANNOTATION, ffi.Pointer<FS_RECTF>)>()
external int FPDFAnnot_GetRect(
  FPDF_ANNOTATION annot,
  ffi.Pointer<FS_RECTF> rect,
);