I get a big yellow popup when i mouse over a PdfTextWebLink. The content is the same, as the text on the link. I use the following code:
- Code: Select all
var link = new PdfTextWebLink
{
Brush = PdfBrushes.Blue,
Font = new PdfFont(PdfFontFamily.Helvetica, 13f, PdfFontStyle.Underline),
StringFormat = PdfUtils.TopLeft,
Text = "Search on google",
Url = "http://ww.google.com"
};
link.DrawTextWebLink(page.Canvas, new PointF(50,50));
How do I get rid of this popup?
Furthermore, when i use StringFormat = PdfUtils.TopCenter, the link seems to be placed from the start of the last word in the link text, i.e. "google" in this example, but the area of which the link is clickable extends beoynd the last word equivalent to the width of the entire link text.
Thanks in advance
Søren Rokkedal