FPDFDoc_GetAttachmentCount function

  1. @Native<FPDF_BOOL Function(FPDF_DOCUMENT)>(FPDF_DOCUMENT)>()
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

@ffi.Native<ffi.Int Function(FPDF_DOCUMENT)>()
external int FPDFDoc_GetAttachmentCount(FPDF_DOCUMENT document);