windows 8   


ForumComputersArticlesOperating SystemsSocial NetworksInternetTechnology NewsBooksGamesProduct Reviews



Resources » Tools and Utilities » Other Tools


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


Posted Date:     Category: Other Tools    Rating: 2 out of 52 out of 5
Author: Member Level: Diamond    Points: 50


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.


Did you like this resource? Share it with your friends and show your love!




Related Resources:


Read related articles: Html to Pdf    Pdf Converters    


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

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • 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:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Winnovative Free Html to Pdf converter reviews
    Previous Resource: How to use Portable Apps from your USB drive
    Return to Resources
    Post New Resource
    Category: Other Tools


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    (No tags found.)

    Subscribe to Technology Articles by Email



    Awards & Gifts


    My Profile

    Online MembersJoseph
    More...

    Active Members
    TodayLast 7 Daysmore...


    RSS Feeds Resource Feeds
    Forum Feeds
    Job Feeds



    About Us    Trademark Disclaimer    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John