FPDFAnnot_GetNumberValue method

int FPDFAnnot_GetNumberValue(
  1. FPDF_ANNOTATION annot,
  2. FPDF_BYTESTRING key,
  3. Pointer<Float> value
)

Experimental API. Get the float value corresponding to |key| in |annot|'s dictionary. Writes value to |value| and returns True if |key| exists in the dictionary and |key|'s corresponding value is a number (FPDF_OBJECT_NUMBER), False otherwise.

annot - handle to an annotation. key - the key to the requested dictionary entry, encoded in UTF-8. value - receives the value, must not be NULL.

Returns True if value found, False otherwise.

Implementation

int FPDFAnnot_GetNumberValue(
  FPDF_ANNOTATION annot,
  FPDF_BYTESTRING key,
  ffi.Pointer<ffi.Float> value,
) {
  return _FPDFAnnot_GetNumberValue(annot, key, value);
}