THotPDF.AddLoadedPopupAnnotation Method

Creates a /Subtype /Popup annotation on a loaded page and links it in both directions with an existing markup annotation

Declaration

procedure AddLoadedPopupAnnotation(PageIndex, ParentAnnotationIndex: Integer; X1, Y1, X2, Y2: Single; Open: boolean = False);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the loaded page
ParentAnnotationIndexIndex of the existing markup annotation the popup is linked to
X1, Y1, X2, Y2Popup window rectangle in PDF user space points
OpenTrue to mark the popup initially open in compliant viewers

Return value

This member returns no value

Usage notes

Related APIs