Click or drag to resize
Pdf Library for .NET

Welcome to SelectPdf Html To Pdf Converter for .NET - Free Community Edition

SelectPdf Html To Pdf Converter for .NET - Free Community Edition is a subset of SelectPdf Library for .NET. The Community Edition is available FREE OF CHARGE for personal and commercial purposes.

The current documentation is explicitly for SelectPdf Community Edition users. The full documentation for Select.Pdf for .NET Professional is available online or in the specific product archive that can be downloaded from https://selectpdf.com.

SelectPdf for .NET is a professional PDF library that can be used for creating, writing, editing, handling and reading PDF files without any external dependencies within .NET applications. Using this .NET PDF library, you can implement rich capabilities to create PDF files from scratch or process existing PDF documents entirely through C#/VB.NET without installing Adobe Acrobat.

SelectPdf Html To Pdf Converter for .NET - Community Edition can be used to generate pdf documents from any web page or html string. The main limitation of the free version is related to the number of pages of the generated pdf document. The Community Edition allows the generation of pdf documents up to 5 pages.

SelectPdf Html To Pdf Converter provides versions for .NET Framework and .NET Core 2.0 and above (through .NET Standard 2.0). SelectPdf Html To Pdf Converter works on Azure cloud, including Azure Web Apps (Basic plan or above) with some limitations. More details here: Deployment to Microsoft Azure.

Note: SelectPdf currently works only on Windows systems. There is no support for Linux, Xamarin or other platforms.

Sample Code

Coding with SelectPdf Html To Pdf Converter is very easy. Take a look at the section below:

// instantiate a html to pdf converter object
HtmlToPdf converter = new HtmlToPdf();

// create a new pdf document converting an url
PdfDocument doc = converter.ConvertUrl(TxtUrl.Text);

// save pdf document
doc.Save(Response, false, "Sample.pdf");

// close pdf document
doc.Close();
Features that are not part of the Community Edition

The Community Edition of SelectPdf IS NOT THE FREE TRIAL for SelectPdf Commercial Library. The Community Edition is a FREE product with limited functionality. If you want to try the full featured SelectPdf Library, download a free trial version from here: http://selectpdf.com/pdf-library-for-net/.

The following features are not part of the free community edition. To use any of these features you need the full commercial SelectPdf Library for .NET:

  • Create PDF documents with more than 5 pages

  • Convert only a certain section of the page, specified by the html element ID.

  • Manually start the conversion to PDF from javascript.

  • Specify a JS startup script that will run before the conversion.

  • Hide parts of the web page during the html to pdf conversion.

  • Load and modify existing PDF documents.

  • Add additional HTML, text, images to PDF (using PdfHtmlElement, PdfTextElement, PdfImageElement objects).

  • Get web elements location in PDF.

  • Specify the open action of the PDF document (jump to page, run script).

  • Custom headers and footers on specific PDF pages.

  • Form fields filling.

  • PDF portfolios management.

  • Resize/scale content of existing PDF documents.

  • Extract text from PDF (PDF to Text converter).

  • Search for text in PDF.

  • Convert PDF pages to images (PDF to Image converter).

See Also

Reference

Other Resources