THotPDF.GetLoadedAnnotationPopupRect Method

Lit le rectangle englobant normalisé, en espace utilisateur PDF, du dictionnaire d'annotation /Popup associé à une annotation de balisage chargée

Déclaration

function GetLoadedAnnotationPopupRect(PageIndex, AnnotationIndex: Integer; out ARect: THPDFRect): boolean;

Unité

HPDFDoc

Paramètres

NomObjectif
PageIndexIndex de page, base zéro, dans le document chargé
AnnotationIndexIndex d'annotation, base zéro, sur la page
ARectReçoit le rectangle normalisé en espace utilisateur PDF (Left <= Right, Bottom <= Top, de façon cohérente avec GetLoadedAllPageBoxes)

Valeur de retour

Renvoie True quand l'annotation référence un dictionnaire /Popup valide doté d'un tableau /Rect de quatre nombres ; sinon False

Notes d'utilisation

API associées