FPDFAttachment_HasKey function

  1. @Native<FPDF_BOOL Function(FPDF_ATTACHMENT, FPDF_BYTESTRING)>(FPDF_ATTACHMENT, FPDF_BYTESTRING)>()
int FPDFAttachment_HasKey(
  1. FPDF_ATTACHMENT attachment,
  2. FPDF_BYTESTRING key
)

Experimental API. Check if the params dictionary of |attachment| has |key| as a key.

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

Returns true if |key| exists.

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_ATTACHMENT, FPDF_BYTESTRING)>()
external int FPDFAttachment_HasKey(
  FPDF_ATTACHMENT attachment,
  FPDF_BYTESTRING key,
);