FPDFAttachment_HasKey method

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

int FPDFAttachment_HasKey(FPDF_ATTACHMENT attachment, FPDF_BYTESTRING key) {
  return _FPDFAttachment_HasKey(attachment, key);
}