Can't get AddLinkToPDFArea to work

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


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.

Can you share a sample project?

I changed AddLinkToPDFArea to AddLinkArea and linked to a URL rather than a file. Downloads the file rather that opening it. Not what I wanted, but acceptable.