Hello Syncfusion's team,
I used the following code to insert hyperlink in footer :
------------------------ Begin
PdfPageTemplateElement footer = new PdfPageTemplateElement(bounds);
PdfFont fontPied = new PdfStandardFont(PdfFontFamily.Helvetica, 8);
PdfBrush brush = new PdfSolidBrush(Syncfusion.Drawing.Color.Black);
///Hyperlink My WebSite
//Create the Text Web Link.
PdfTextWebLink textLink = new PdfTextWebLink();
//Set the hyperlink
textLink.Url = "http://www.mywebsite.com/";
//Set the link text
textLink.Text = "Click here to visit my web site";
//Set the font
textLink.Font = fontPied;
//Draw the hyperlink in PDF page
textLink.DrawTextWebLink(footer.Graphics, new Syncfusion.Drawing.PointF(0, 20));
----------------------- End
But the last instruction < > generates the following exception:
Object reference not set to an instance of an object.
at Syncfusion.Pdf.Interactive.PdfTextWebLink.DrawTextWebLink (Syncfusion.Pdf.Graphics.PdfGraphics graphics, Syncfusion.Drawing.PointF location) [0x000ea] in <023cea152c704135bf5c2f86c6cf38b2>:0
Regards