---
title: "Adding links to pdf by using MigraDoc"  
description: "Adding links to pdf by using MigraDoc"  
author: "Takeshi Okada"  
published: 2013-10-05  
updated: 2013-10-05  
canonical: https://www.mindstick.com/forum/1590/adding-links-to-pdf-by-using-migradoc  
category: "asp.net mvc"  
tags: ["asp.net mvc"]  
reading_time: 1 minute  

---

# Adding links to pdf by using MigraDoc

I use MigraDoc for creating [pdf](https://www.mindstick.com/articles/311856/6-of-the-best-pdf-editors-to-meet-your-business-needs) [documents](https://www.mindstick.com/articles/156931/the-main-types-of-business-documents) in the project.

[Code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) below [shows](https://yourviews.mindstick.com/view/81380/new-york-violent-shooting-shows-people-are-not-safe-in-night-life) how I work with [library](https://www.mindstick.com/forum/34615/software-framework-vs-library):

\

```
    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();
```

\

So, I'm looking for a way to adding [link](https://www.mindstick.com/articles/23633/link-builder) to [web](https://www.mindstick.com/articles/12783/the-ultimate-bunch-of-free-web-design-resources) [resource](https://www.mindstick.com/blog/43433/top-best-resources-for-women-about-beauty-and-health) inside pdf.

## Replies

### Reply by E E Cummings

Use**paragraph.AddHyperlink()** for that purpose. You will need HyperlinkType.Web.


---

Original Source: https://www.mindstick.com/forum/1590/adding-links-to-pdf-by-using-migradoc

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
