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 in ASP.NET MVC (ASPX or Razor views) without installing Adobe Acrobat.
Recently, we had several customers asking: “What product should I use?” or “I am confused. Do I need the API or the .NET component?” or “Where are the conversions performed: on our website or on yours?”.
To answer these questions, we have created this blog post. Here are the details:
Select.Pdf Library for .NET – 2015 Vol 2 has just been released. Together with the full featured pdf library, the community edition of our SelectPdf Html To Pdf Converter for .NET v1.2 was also released.
The release contains a lot of bug fixes and speed improvements.
The 2 products can be downloaded from our website or via NuGet.
(Updated in December 2016).
SelectPdf Html To Pdf Converter needs 2 files to work. They are different for the 2 versions that we offer:
Select.Pdf Library for .NET – Commercial Edition
Select.Pdf for .NET requires the .NET assembly Select.Pdf.dll and if the html to converter is used, an additional file called Select.Html.dep. This file, because it does not have a reference in the project, might not get copied to the deployment destination. To fix the problem, copy Select.Html.dep manually. More details about this here:
SelectPdf Html To Pdf Converter – Community Edition
SelectPdf Html To Pdf converter requires 2 files to work: the .NET assembly Select.HtmlToPdf.dll and an additional file called Select.Html.dep. This file, because it does not have a reference in the project, might not get copied to the deployment destination. To fix the problem, copy Select.Html.dep manually. More details about this here:
IMPORTANT: If you are setting the full path to Select.Html.dep in code using the HtmlEngineFullPath property of the GlobalProperties class, do not forget to include the file name (Select.Html.dep) with the path.
UPDATE (December 2016):
There are special cases that need to be taken into account when deploying applications that use SelectPdf and you get the “Conversion failure. Could not find ‘Select.Html.dep'” error. One is related to One Click deployments (Publish…) from Visual Studio.
To be sure that Select.Html.dep is deployed, add it into the project as a regular file and set the ‘Build Action’ to ‘Content’ and ‘Copy to Output Directory’ to ‘Copy Always’. Rebuild and redeploy your project (make sure that Select.Html.dep.deploy exists in the deployment folder).
People need to access web pages on a regular basis. There are some pages which you may want to refer to on a daily basis. Going to the web page all the time may not make sense. If you have to use it daily, it makes sense to save it in the form of a document which you can access from your phone or laptop whenever you want. The best format to save it is in PDF. The biggest advantage of the PDF format is that it can be made secure by using password protection. You can check the document whenever you want without any restriction. For this, you need to get the web pages converted into the PDF format. This can best be done by making use of the HTML to PDF converter. When you search online, you will come across many converters from which you can opt for one which is quite popular and used by many people.
I am a proud executive of an online converter that helps people to convert their HTML documents into PDF very conveniently. Our wonderful professional journey took off when we observed consumers complaining about the conversion software available for the purpose. Many found it very difficult to work on an HTML file without converting it. Conversion of these files was highly necessary for storage and reference. Our research team found several converters with heavy installing process which eventually lowered the speed of user systems. Surveys conducted to rate their performances had far from positive outcomes. All of this led us to create our own version of the HTML to PDF converter that took less time in terms of installation and out of which users would derive more productive results. After conducting a thorough market study of the features applicable in this respect, we departed from the conventional to implement unique features to attract users to buy our product. With functions suited to support any individual or enterprise in business set ups, the product was ready to experience tough competition from its contenders on field.
It’s very easy to use Select.Pdf SDK for .NET. Take a look at the simple code below.
SelectPdf.PdfDocument doc = new SelectPdf.PdfDocument();
SelectPdf.PdfPage page = doc.AddPage();
SelectPdf.PdfFont font = doc.AddFont(SelectPdf.PdfStandardFont.Helvetica);
font.Size = 20;
SelectPdf.PdfTextElement text = new SelectPdf.PdfTextElement(50, 50, "Hello world!", font);