FPDFPage_GetAnnotIndex function
- @Native<Int Function(FPDF_PAGE, FPDF_ANNOTATION)>(FPDF_PAGE, FPDF_ANNOTATION)>()
- FPDF_PAGE page,
- FPDF_ANNOTATION annot
Experimental API. Get the index of |annot| in |page|. This is the opposite of FPDFPage_GetAnnot().
page - handle to the page that the annotation is on. annot - handle to an annotation.
Returns the index of |annot|, or -1 on failure.
Implementation
@ffi.Native<ffi.Int Function(FPDF_PAGE, FPDF_ANNOTATION)>()
external int FPDFPage_GetAnnotIndex(FPDF_PAGE page, FPDF_ANNOTATION annot);