Click or drag to resize
Pdf Library for .NET
Welcome to SelectPdf Library for .NET

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.

Many rich features can be supported by the .NET PDF API, such as security setting (including digital signatures), PDF merge/split, text, html and image drawing into pdf, PDF form fields filling, PDF portfolios and many more. Besides, Select.Pdf for .NET can be used to easily convert HTML to PDF with C#/VB.NET in high quality.

Sample Code

Coding with SelectPdf is very easy. Take a look at the section below:

// create a new pdf document
PdfDocument doc = new PdfDocument();

// add a new page to the document
PdfPage page = doc.AddPage();

// create a new pdf font
PdfFont font = doc.AddFont(PdfStandardFont.Helvetica);
font.Size = 20;

// create a new text element and add it to the page
PdfTextElement text = new PdfTextElement(50, 50, "Hello world!", font);

// save pdf document

// close pdf document

Converting from html to pdf using SelectPdf Library for .NET is just as easy:

// 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

// close pdf document
See Also