THPDFPage.AddGoToLink Method

Method summary: THPDFPage.AddGoToLink Method

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
RectangleThe area on the current page that responds to clicks
TargetPageIndexZero-based number of the target page; in a new document it may refer to a page that is only added later on
YPosHow far down to scroll, measured from the top of the page in the same units as Rectangle; -1 leaves the position as it is
DescriptionAlternative text kept in /Contents; PDF/UA requires it

Return value

Returns no value

Usage notes

Related APIs