THotPDF.AddLoadedLinkAnnotation Method

Appends a URI hyperlink annotation to the specified page of the loaded PDF document, which jumps to the given URL when the specified rectangular area is clicked

Declaration

procedure AddLoadedLinkAnnotation(PageIndex: Integer; ARect: THPDFRect; const AURI: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
ARectThe PDF user space rectangle coordinates of the link hotspot, with the origin at the bottom-left corner
AURIThe URI string triggered when the link is clicked, e.g. https://www.loslab.com
X2Input supplied to AddLoadedLinkAnnotation
Y2Input supplied to AddLoadedLinkAnnotation
AURIExternal target address stored in the PDF action or link annotation

Return value

This member returns no value

Usage notes

Related APIs