FPDFAnnot_GetRect method

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

int FPDFAnnot_GetRect(FPDF_ANNOTATION annot, ffi.Pointer<FS_RECTF> rect) {
  return _FPDFAnnot_GetRect(annot, rect);
}