title: Hyperlink at footer using itextSharp
body: <p>I need to put a hyperlink at the footer of my PDF generated using iTextSharp.</p>
  
  <p>I know how to use PdfPageEventHelper to print some text in the footer but not putting a hyperlink.</p>
  
  <pre><code>    public class PdfHandlerEvents: PdfPageEventHelper
      {
          private PdfContentByte _cb;
          private BaseFont _bf;
  
          public override void OnOpenDocument(PdfWriter writer, Document document)
          {
              _cb = writer.DirectContent;
          }
  
          public override void OnEndPage(PdfWriter writer, Document document)
          {
              base.OnEndPage(writer, document);
  
              _bf = BaseFont.CreateFont(BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.NOT_EMBEDDED);
              Rectangle pageSize = document.PageSize;
  
              _cb.SetRGBColorFill(100, 100, 100);
  
              _cb.BeginText();
              _cb.SetFontAndSize(_bf, 10);
              _cb.ShowTextAligned(PdfContentByte.ALIGN_CENTER, "More information", pageSize.GetRight(200), pageSize.GetBottom(30), 0);
              _cb.EndText();
          }
      } 
  </code></pre>
  
  <p>How do I make the text "More information" a hyperlink?</p>
  
  <p>Edited:</p>
  
  <p>After the answer from Chris below, I have also figure out how to print image at the footer, here is the code:</p>
  
  <pre><code>            Image pic = Image.GetInstance(@"C:\someimage.jpg");
              pic.SetAbsolutePosition(0, 0);
              pic.ScalePercent(25);
  
              PdfTemplate tpl = _cb.CreateTemplate(pic.Width, pic.Height);
              tpl.AddImage(pic);
              _cb.AddTemplate(tpl, 0, 0);
  </code></pre>