Creating Internet Links

With PDFReport XP you can also define an "HOTSPOT AREA", an area of the page where, if you click, you are sent to a web page of your choice (your default web browser opens to navigate there).

To obtain this effect, very useful for example if you want to create a list of links to internet resources, you simply use this function:

CreateLink_Internet (X1, Y1, X2, Y2, OutlineWidth, _
  OutlineColorR, OutlineColorG, OutlineColorB, _
  DestinationURI)

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, DestinationURI, indicates the web page to open in response of an user's click.