THotPDF.GetLoadedAnnotationPopupRect Method

Reads the normalized PDF user-space bounding rectangle of the /Popup annotation dictionary associated with a loaded markup annotation.

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based page index in the loaded document.
AnnotationIndexZero-based annotation index on the page.
ARectReceives the normalized PDF user-space rectangle (Left <= Right, Bottom <= Top, matching GetLoadedAllPageBoxes).

Return value

Returns True when the annotation references a valid /Popup dictionary with a four-number /Rect array; otherwise False.

Usage notes

Related APIs