Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

Can't get AddLinkToPDFArea to work

$
0
0

I have created a pdf that I display in an htmlViewer on a webpage mostly using the usual Session.Document.Graphics.DrawText method. I just added what I want to be a hyperlink. I thought the AddLinkToPDFArea would activate the hyperlink. Right after adding the text for the hyperlink, I added

Session.Document.AddLinkToPDFArea(1,1,600,600)

thinking I should be able to click anywhere on the page and it would work. When that didn’t work, I changed the y parameter from 1 to 600 in case y references the bottom of the area instead of the top. It doesn’t work either.

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles