Creating Internal Links
With PDFReport XP you can also define an "HOTSPOT AREA", an area of the page where, if you click, you are sent to another page of the PDF file.
To obtain this effect, very useful for example if you want to create a clickable index for a PDF catalog, you simply use this function:
CreateLink_Internal (X1, Y1, X2, Y2, OutlineWidth, _ OutlineColorR, OutlineColorG, OutlineColorB, _ DestinationPage)
The first 4 parameters are the x, y coordinates of the upper left and bottom right corners of the clickable rectangular area.
The Outline* parameters express the RGB values for the color of the border of the linked area.
The last parameter, DestinationPage, indicates the Page to which you will be sent after the mouse click (e.g. set this to 1 if you want to go to page 1). Please be sure that the destination page exists already before making an internal link.