THotPDF.GetLoadedFormFieldIndexForAnnotation
Associe une annotation de page chargée à son champ AcroForm terminal et à son rang de widget
Déclaration
function GetLoadedFormFieldIndexForAnnotation(PageIndex,
AnnotationIndex: Integer; out WidgetIndex: Integer): Integer;
La valeur de retour est l’index de champ base zéro et WidgetIndex reçoit le rang base zéro au sein de ce champ
La méthode renvoie -1 et met WidgetIndex à -1 pour des coordonnées invalides, des annotations qui ne sont pas des widgets, ou des widgets orphelins non enregistrés sous /AcroForm /Fields
Après un réordonnancement des annotations, utilisez le mappage d’identité de l’objet renvoyé au lieu de conserver un ancien index d’annotation
See also: AcroForm relationship cache, GetLoadedFormFieldWidgetPageIndex