FPDFDoc_GetJavaScriptAction function
- @Native<FPDF_JAVASCRIPT_ACTION Function(FPDF_DOCUMENT, Int)>(FPDF_DOCUMENT, ffi.Int)>()
- FPDF_DOCUMENT document,
- int index
Experimental API. Get the JavaScript action at |index| in |document|.
document - handle to a document. index - the index of the requested JavaScript action.
Returns the handle to the JavaScript action, or NULL on failure. Caller owns the returned handle and must close it with FPDFDoc_CloseJavaScriptAction().
Implementation
@ffi.Native<FPDF_JAVASCRIPT_ACTION Function(FPDF_DOCUMENT, ffi.Int)>()
external FPDF_JAVASCRIPT_ACTION FPDFDoc_GetJavaScriptAction(
FPDF_DOCUMENT document,
int index,
);