Wraps FPDFPage_GetAnnotIndex. Useful after pdf_annot_new() when
you want to know the position of the freshly-created annotation
inside the page's annot list (e.g. to coordinate with index-driven
code paths).
Arguments
- annot
A
pdfium_annotfrompdf_annot_new()orpdf_annotations().
Value
Integer scalar — one-based annotation index on the parent
page, or NA_integer_ if the annotation is not found.