FPDFAnnot_GetFileAttachment method

FPDF_ATTACHMENT FPDFAnnot_GetFileAttachment(
  1. FPDF_ANNOTATION annot
)

Experimental API. Get the attachment from |annot|.

annot - handle to a file annotation.

Returns the handle to the attachment object, or NULL on failure.

Implementation

FPDF_ATTACHMENT FPDFAnnot_GetFileAttachment(FPDF_ANNOTATION annot) {
  return _FPDFAnnot_GetFileAttachment(annot);
}