THPDFPage.AddGoToLink Method

Adds go to link data to the annotation and action workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

procedure AddGoToLink(Rectangle: TRect; TargetPageIndex: Integer; YPos: Single= - 1; const Description: AnsiString= '');

Unit

HPDFDoc

Parameters

NamePurpose
RectangleClickable area on the current page
TargetPageIndexZero-based index of the target page. In a new document it may name a page that is added later
YPosVertical position to scroll to, measured from the top of the page in the same units as Rectangle; -1 keeps the current position
DescriptionAlternate description stored in /Contents; required under PDF/UA

Return value

This member does not return a value

Usage notes

Related APIs