Convert from HTML to PDF in ASP.NET Core with a Free 3rd Party Library

Html to Pdf Conversion is now available for .NET Core. SelectPdf offers a Community Edition (FREE) of the powerful Html To Pdf Converter for .NET Core that can be found in the full featured pdf library.

C# (1.6 MB)
 
 
 
 
 
4.3 Star
(4)
2,051 times
Add to favorites
5/10/2019
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
@page
@model IndexModel
@{
    ViewData["Title"] = "SelectPdf Free Html To Pdf Converter for .NET Core - Pdf Library for .NET - C# / ASP.NET Core MVC6 Razor Samples";
    ViewData["Description"] = "SelectPdf Samples for C# and ASP.NET MVC with Razor Views. Pdf Library for .NET with full sample code in C# and VB.NET.";
    ViewData["Keywords"] = "pdf library, sample code, html to pdf, pdf converter, pdf to text, pdf to image converter";
}

<article class="post type-post status-publish format-standard hentry">
    <header class="entry-header">
        <h1 class="entry-title">SelectPdf Free Html To Pdf Converter for .NET Core - Community Edition - C# / ASP.NET Core 2.0 MVC6 Samples</h1>
    </header>
    <!-- .entry-header -->

    <div class="entry-content">
        <p>
            <a href="http://selectpdf.com/community-edition/" title="Free Html To Pdf Converter for .NET Core">SelectPdf Html To Pdf Converter for .NET Core</a> is a powerful component
            that can generate pdf documents from web pages and html code in .NET Framework applications.
            SelectPdf does not have any 3rd party dependencies and does not need users to install Adobe software to be able to create PDF documents.
        </p>
        <p>
        </p>
        <h3>Html to Pdf Converter for .NET Core Samples</h3>
        <div class="col2">
            <nav class="nav-single">
                <a href="~/HtmlToPdfConverter" title="SelectPdf Library for .NET - Html to Pdf Converter">Getting Started</a><br />
                <a href="~/ConvertUrlToPdf" title="SelectPdf Library for .NET - Url to Pdf Converter">Convert Url to Pdf</a><br />
                <a href="~/ConvertHtmlCodeToPdf" title="SelectPdf Library for .NET - Convert from html code to pdf">Convert Html Code to Pdf</a><br />
                <a href="~/PdfConverterProperties" title="SelectPdf Library for .NET - Setting Document Properties with Html to Pdf Converter">Pdf Document Properties</a><br />
                <a href="~/PdfConverterViewerPreferences" title="SelectPdf Library for .NET - Setting Pdf Viewer Preferences for the Html to Pdf Converter">Pdf Viewer Preferences</a><br />
                <a href="~/PdfConverterSecurity" title="SelectPdf Library for .NET - Setting Pdf Document Security with the Html to Pdf Converter">Pdf Security Settings</a><br />
                <a href="~/ConversionDelay" title="SelectPdf Library for .NET - Conversion Delay with Html to Pdf Converter">Conversion Delay</a><br />
                <a href="~/HtmlToPdfHeadersAndFooters" title="SelectPdf Library for .NET - Pdf Headers and Footers with Html to Pdf Converter">Headers and Footers</a><br />
                <a href="~/PageBreaks" title="SelectPdf Library for .NET - Control Page Breaks with Html to Pdf Converter">Page Breaks</a><br />
            </nav>
        </div>
        <div class="col2">
            <nav class="nav-single">
                <a href="~/AutomaticBookmarks" title="SelectPdf Library for .NET - Automatic Bookmarks with Html to Pdf Converter">Automatic Bookmarks</a><br />
                <a href="~/HttpHeaders" title="SelectPdf Library for .NET - Set HTTP Headers with Html to Pdf Converter">HTTP Headers</a><br />
                <a href="~/HttpCookies" title="SelectPdf Library for .NET - Set HTTP Cookies with Html to Pdf Converter">HTTP Cookies</a><br />
                <a href="~/HttpPostRequest" title="SelectPdf Library for .NET - Set parameters with a POST request with Html to Pdf Converter">HTTP POST Request</a><br />
                <a href="~/MediaTypes" title="SelectPdf Library for .NET - Use media types with Html to Pdf Converter">Media Types</a><br />
                <a href="~/HtmlToPdfConverterLinks" title="SelectPdf Library for .NET - Pdf Internal and External Links - Html to Pdf Converter">Internal and External Links</a><br />
                <a href="~/CurrentWebPageToPdf" title="SelectPdf Library for .NET - Convert Current WebPage to Pdf">Current WebPage to Pdf in Asp.Net</a><br />
                <a href="~/ConvertAndEmail" title="SelectPdf Library for .NET - Convert WebPage to Pdf and Email as Attachment">Convert to Pdf and Email as Attachment</a><br />
            </nav>
        </div>

        <div class="col-clear"><br /></div>

        <h3>IMPORTANT</h3>
        <p>
            This Community Edition of SelectPdf IS NOT THE FREE TRIAL for SelectPdf Commercial Library. This is a FREE product with <b>limited functionality</b>.
            If you want to try the full featured SelectPdf Library, download a free trial version from here:
            <a href="http://selectpdf.com/pdf-library-for-net/" target="_blank" title="Html To Pdf Converter">http://selectpdf.com/pdf-library-for-net/</a>
            <br />
        </p>
        <p>
            The following features are not part of the free community edition.
            To use any of these features you need the full <b>commercial</b> <a href="http://selectpdf.com/pdf-library-for-net/" title="SelectPdf Library for .NET" target="_blank">SelectPdf Library for .NET</a>:
        </p>
        <p>
            - Create PDF documents with more than 5 pages.<br />
            - Convert only a certain section of the page, specified by the html element ID.<br />
            - Manually start the conversion to PDF from javascript.<br />
            - Specify a JS startup script that will run before the conversion.<br />
            - Hide parts of the web page during the html to pdf conversion.<br />
            - Load and modify existing PDF documents.<br />
            - Add additional HTML, text, images to PDF (using PdfHtmlElement, PdfTextElement, PdfImageElement objects).<br />
            - Get web elements location in PDF.<br />
            - Specify the open action of the PDF document (jump to page, run script).<br />
            - Custom headers and footers on specific PDF pages.<br />
            - Form fields filling.<br />
            - PDF portfolios management.<br />
            - Resize/scale content of existing PDF documents.<br />
            - Extract text from PDF (PDF to Text converter).<br />
            - Search for text in PDF.<br />
            - Convert PDF pages to images (PDF to Image converter).<br />
        </p>
    </div>
    <div class="col-clear"></div>
    <!-- .entry-content -->
</article>
<!-- #post -->