Pdf Vision .NET - The perfect Web page to Pdf converter for my need


I started my research for a suitable Html page to Pdf converter for our websites recently and like to share what I found out. In this article, I will review the Pdf Vision .NET library from Sautin Soft.

It has been more than a day since I started pulling my hair to pick the best Html to Pdf converter for StudyVillage.com - my new website for children and for this technology website MyWindowsClub.com. I was so confused which one to pick since a Google search showed me too many of them. After spending several hours reading blogs and reviews, I decided to try few libraries myself and pick the best one.

My first review was on Winnovative's Html to Pdf converter. It looked like a professional tool, but I was disappointed due to the high price. The basic license costs US$ 550, but I was reluctant to spend that much money for a product that I will rarely use.

So, I started looking for a lower cost Html to Pdf converter. I found quite a few, which are cheap, but then the quality, reliability and support was another issue. The cheap products come with pathetic support and poor quality. Some of them fail to produce a quality PDF document. Some of them lack CSS and hyperlink support.

SautinSoft Pdf Vision .NET - Best value for money, easy to use and perfect quality


I came across SautinSoft Pdf Vision .NET while looking for the best Html to Pdf Converter software. My first test was to find how good is the support. Cool - they have a online chat support feature on the site itself. I clicked on it and in few seconds I was on conversation with their support team. I asked few basic questions and got very professional response.

Download trial version of Pdf Vision Html page to Pdf converter for free


Pdf Vision .NET - Html to Pdf converter I was directed to the download page of the trial version by the support person.

Testing Pdf Vision was an easy and straight forward process:

1. Downloaded the PdfVision.dll file
2. Copied to the bin folder of the website
3. Started using the sample code from the official website

No compilation errors, no complex reference problems.

However, I had a minor problem. The 2 lines of sample code from their website did not work. It was simply waiting indefinitely with no output and no error.
All I had to do was, download the file "PdfVision.dll"

Source code:

PdfVision pdf = new PdfVision();
pdf.ConvertHtmlFileToPDFFile(@"http://www.StudyVillage.com",
"c:\\sites\\StudyVillage.pdf");


Since there was no error and I was clueless what is wrong, I decided to go online and ask for help. Thanks to the excellent customer support, they gave me another set of sample code.


SautinSoft.PdfVision v = new SautinSoft.PdfVision();

byte[] pdfBytes = null;
//convert URL to pdf stream
pdfBytes = v.ConvertHtmlFileToPDFStream(@"http://www.cnn.com");

//show PDF
if (pdfBytes != null)
{
Response.Buffer = true;
Response.Clear();
Response.ContentType = "application/PDF";
Response.AddHeader("Content-Disposition:", "attachment;
filename=Result.pdf");
Response.BinaryWrite(pdfBytes);
Response.Flush();
Response.End();
}


This was perfect. It worked on the first try itself. The quality of the produced PDF file was excellent.

I modified the given source code a little bit to suit our needs. I wrote a small class which look like this:

public class PdfHelper
{
public static bool ConvertHtmlPageToPdf(string url, string fileName)
{
PdfVision pdfVision = new SautinSoft.PdfVision();

byte[] pdfBytes = null;
pdfBytes = pdfVision.ConvertHtmlFileToPDFStream(url);

System.IO.FileStream _FileStream = new System.IO.FileStream(fileName,
System.IO.FileMode.Create,
System.IO.FileAccess.Write);
_FileStream.Write(pdfBytes, 0, pdfBytes.Length);
_FileStream.Close();

return true;
}
}


It took only few minutes to complete the whole testing and I have a winner. I decided to go forward with the Pdf Vision .NET for the Html to Pdf converter for our network of websites. You can see this live in StudyVillage.com, when you post an article and try to attach an image to the article. When you attach images, I have given an option to convert it in to Pdf file, which is powered by SautinSoft's Pdf Vision .NET library.


Article by Tony John
Tony John is a professional blogger from India, who started his first Weblog in 1998 at Tripod.com. Tony switched to blogging as a passion blended business in the year 2000 and currently operates several popular web properties including IndiaStudyChannel.com, Techulator.com, dotnetspider.com and many more.

Follow Tony John or read 638 articles authored by Tony John

Related Articles

Able2Extract Professional 10 - an able PDF converter you can trust

The essential part of maintaining digital documents is a good PDF Converter. In our series of the leading PDF converters, Able2Extract Professional has been one of the pioneers in the field. We will slice the product in the following paragraphs and find how much able it is in meeting your requirements.

Winnovative Free HTML to PDF converter reviews

If you are looking for free Html to Pdf converters, you have reached the right place. In this article, I will discuss my experience with the Winnovative Free Html to Pdf converter utility.

More articles: PDF Converters PDF Converters PDF Converters PDF Converters

Comments

Guest Author: Ishwar17 Feb 2015

What is the latest price of Pdf Vision .Net software. Is there any other similar low cost software available to do the html ot pdf conversion?

Guest Author: Ishwar17 Feb 2015

What is the latest price of Pdf Vision .Net software. Is there any other similar low cost software available to do the html ot pdf conversion?



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: