-
September 19th, 2005, 04:48 AM
#1
HTML to PDF
I need a help to know how to convert the HTML Into PDF file IN C# Web application////
Is there any libray and code for this
THanks in Advance
faiza
-
September 19th, 2005, 05:30 PM
#2
Re: HTML to PDF
There's always this library :
http://www.gohtm.com/#easypdfsdk
A point of note to you : search for what you want using Google first. I just put in "HTML to PDF" into google and it brought up loads of answers.
When trying to find something out, go to Google.
If you're having problems with your code, come to us.
Darwen.
-
July 8th, 2007, 03:59 PM
#3
Re: HTML to PDF
Hi,
I used before the <a href="http://www.winnovative-software.com">HTML to PDF</a> library for .NET from http://www.dotnet-reporting.com or the HTML to PDF converter from http://www.winnovative-software.com . It's pure .NET library, it doesn't use a printer driver. There is also a free html to pdf converter application built on top of this library. The conversion can be done with only a few lines of code:
PdfConverter pdfConverter = new PdfConverter();
pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
pdfConverter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
pdfConverter.PdfDocumentOptions.PdfCompressionLevel = PdfCompressionLevel.Normal;
pdfConverter.PdfDocumentOptions.GenerateSelectablePdf = true;
pdfConverter.PdfDocumentOptions.ShowFooter = false;
pdfConverter.PdfDocumentOptions.ShowHeader = false;
pdfConverter.LicenseFilePath = Server.MapPath(@"~/Bin");
byte[] downloadBytes = pdfConverter.GetPdfFromUrlBytes(MyURL);
Regards,
Florin
-
February 27th, 2012, 04:54 AM
#4
Re: HTML to PDF
A HTML to PDF converter would help.
-
March 3rd, 2012, 04:52 PM
#5
Re: HTML to PDF
I recommend http://www.hiqpdf.com to convert html to pdf, html to svg or html to image
-
November 21st, 2012, 05:43 AM
#6
Re: HTML to PDF
Disclaimer: I'm working for this company.
Hi! You can use PDF Metamorphosis .Net for this. Library successfully sypports html to pdf converting and may be use without any additional components. Developers can use the PDF Metamorphosis.Net with Visual Basic, C#, J#, ASP.NET, Delphi DotNet etc.
Sample code for the converting:
SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
p.PageStyle.PageSize.A4();
p.HtmlToPdfConvertFile(@"c:\table.html", @"c:\Result.pdf");
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|