FPDFPage_GetAnnotIndex method
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
int FPDFPage_GetAnnotIndex(FPDF_PAGE page, FPDF_ANNOTATION annot) {
return _FPDFPage_GetAnnotIndex(page, annot);
}