AddLinkToPage

Annotations and hotspot links, Page properties

Description

Adds a clickable hotspot rectangle to the selected page which links to another page in the same document.

Use the SetAnnotBorderColor function to change the color of the hotspot border.

Syntax

Delphi

function TPDFlib.AddLinkToPage(Left, Top, Width, Height: Double; Page: Integer; Position: Double; Options: Integer): Integer;

ActiveX

Function PDFlib::AddLinkToPage(Left As Double, Top As Double, Width As Double, Height As Double, Page As Long, Position As Double, Options As Long) As Long

DLL

int DLAddLinkToPage(int InstanceID, double Left, double Top, double Width, double Height, int Page, double Position, int Options);

Parameters

LeftThe left edge of the hotspot rectangle The top edge of the hotspot rectangle
TopThe width of the hotspot rectangle
Width
HeightThe height of the hotspot rectangle
PageThe destination page number to link to
PositionThe vertical position on the destination page to link to
OptionsSpecifies the appearance of the link: 0 = No border 1 = Draw a border