title: Adding links to pdf by using MigraDoc
body: <p>I use MigraDoc for creating pdf documents in the project.</p>
  
  <p>Code below shows how I work with library:</p>
  
  <pre><code>        var document = new Document { Info = { Author = "title" } };
          Section section = document.AddSection();
          Paragraph paragraph = section.AddParagraph("Title");
          var renderer = new PdfDocumentRenderer(true, PdfSharp.Pdf.PdfFontEmbedding.Always) { Document = document };
          renderer.RenderDocument();
  </code></pre>
  
  <p>So, I'm looking for a way to adding link to web resource inside pdf.</p>
  
  <p>Does someone know?)</p>
  
  <p>-------------Solution-------------------</p>
  
  <p>I found solution!</p>
  
  <p>I tried to use AddHyperlink() for adding link, and it was the first step for this. The code below shows correct using:</p>
  
  <pre><code>        var h = paragraph.AddHyperlink("http://stackoverflow.com/",HyperlinkType.Web);
          h.AddFormattedText("http://www.stackoverflow.com/");
  </code></pre>