FPDFDoc_GetAttachmentCount method

int FPDFDoc_GetAttachmentCount(
  1. FPDF_DOCUMENT document
)

Experimental API. Get the number of embedded files in |document|.

document - handle to a document.

Returns the number of embedded files in |document|.

Implementation

int FPDFDoc_GetAttachmentCount(FPDF_DOCUMENT document) {
  return _FPDFDoc_GetAttachmentCount(document);
}