FPDFAnnot_GetNumberValue function
- @Native<FPDF_BOOL Function(FPDF_ANNOTATION, FPDF_BYTESTRING, Pointer<
Float> )>(FPDF_ANNOTATION, FPDF_BYTESTRING, ffi.Pointer<ffi.Float>)>()
- FPDF_ANNOTATION annot,
- FPDF_BYTESTRING key,
- 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
@ffi.Native<
FPDF_BOOL Function(FPDF_ANNOTATION, FPDF_BYTESTRING, ffi.Pointer<ffi.Float>)
>()
external int FPDFAnnot_GetNumberValue(
FPDF_ANNOTATION annot,
FPDF_BYTESTRING key,
ffi.Pointer<ffi.Float> value,
);