There are various scenarios when you need to perform HTML to PDF conversion from within C# .NET applications. For example, you may want to convert a web page to PDF from within your application or you may need to generate PDF from the content of a WYSIWYG HTML editor. Another scenario could be converting the HTML page from a specific URL to PDF. In order to deal with such cases, you will learn how to perform HTML to PDF conversion in C#. The HTML content could be a .html file or a web page from a URL.