Hyperlinks

[Top]  [Chapter]  [Previous]  [Next]

Hyperlinks mark a certain position on the PDF page which can be clicked by the user to either open a certain website or jump to a poition in the PDF file which has been or will be marked with a "BookMark".

 

To create a link you can use

 

public void Hyperlink(int x, int y, int w, int h, String BookMark)

 

or

 

public void Hyperlink(Rectangle Rect, String BookMark)

 

Please note that both functions are using the current Canvas coordinate trasnformation - this means you can use the same coordinates you use for DrawString(), Line() etc.

 

To create a weblink the bookmark must start with "http://"

To create a link to a certain file it must be start with "Launch://"


[hyperlinks.htm]    Copyright © 2007 by WPCubed GmbH