Thank you! It works!
But I have one more question: I add the proper URL (I verify in the debugger that the Name property of the link is indeed the URL that I need); but when the PDF gets generated the URL pointed is some kind of giberish. Here is an example:
The url I set:
http://www.mysite.com/vacation-rentals/ ... index.aspxAnd this is the url pointed by the PDF:
http://localhost:8080/qìC\Sbzyü—ÍŒ¬V¤7ôíŸdîhÀÝîžW2pl
(localhost:8080 is the server where I am testing the application). Do I have to do something else to pass the proper link address?
Thank you,
Iulian
Thomas Hoevel wrote:
The AddXxx functions in MigraDoc always return the newly created objects for further modification.
Code:
Hyperlink hyperlink = paragraph.AddHyperlink("http://www.qualitaetsberichte.net/", HyperlinkType.Url);
FormattedText ftext = hyperlink.AddFormattedText("http://www.qualitaetsberichte.net/");
Your "Click here" would be given with AddFormattedText.