FPDFAnnot_HasKey function

  1. @Native<FPDF_BOOL Function(FPDF_ANNOTATION, FPDF_BYTESTRING)>(FPDF_ANNOTATION, FPDF_BYTESTRING)>()
int FPDFAnnot_HasKey(
  1. FPDF_ANNOTATION annot,
  2. FPDF_BYTESTRING key
)

Experimental API. Check if |annot|'s dictionary has |key| as a key.

annot - handle to an annotation. key - the key to look for, encoded in UTF-8.

Returns true if |key| exists.

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_ANNOTATION, FPDF_BYTESTRING)>()
external int FPDFAnnot_HasKey(FPDF_ANNOTATION annot, FPDF_BYTESTRING key);