WPCubed Product Support

Display Text for Url/hyperlinks

wpsupport

Hyperlinks in PDF are annotations, simple rectangles located on a page but not inside the rendered content.

So if you need to have a special text attribute for your text you need to assign it when you print it.

To create the active area, the hyperlink, you need to use this api - in .dotnet

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

or

public void Hyperlink(Rectangle Rect, String BookMark)

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

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

#2 ♥ 0
3.3k Views 2 links 2 users read 1 min

Hi,

We are using "PdfControl" for creating PDF. Can you please let us know whether we can use "Display text" for any underlying URL/hyperlink.

for example: google

#1 ♥ 0