FPDFDoc_GetJavaScriptActionCount function

  1. @Native<FPDF_BOOL Function(FPDF_DOCUMENT)>(FPDF_DOCUMENT)>()
int FPDFDoc_GetJavaScriptActionCount(
  1. FPDF_DOCUMENT document
)

Experimental API. Get the number of JavaScript actions in |document|.

document - handle to a document.

Returns the number of JavaScript actions in |document| or -1 on error.

Implementation

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