title: Attaching files to a PDF
body: <p>I am struggling with attaching files to a PDF that I am generating at runtime.</p>
  
  <p>I'm using C# ASP.net in the MVC framework. I originally created the PDF using ABCpdf from a HTML View but I then realised, I also needed to attach files to the PDF. I switched to using iText and I have managed to attach a file to the PDF using the solution at <a href="https://stackoverflow.com/questions/3007218/itextsharp-for-pdf-how-add-file-attachments">iTextSharp for PDF - how add file attachments?</a> </p>
  
  <p>The problem I have now is that I can't seem to reference these attachments as links within the PDF.</p>
  
  <p>The "iText in Action" book suggests I can use annotations or document level attachments. I don't find the book easy to follow or the code easy to understand though. There also seems to be scarce help on this around in the way of articles on the internet but apologies is I have missed anything.</p>
  
  <p>This is the first time I have asked a question here so my apologies if I have done this incorrectly.</p>