C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » ASP.NET/Web Applications »

How to represent HTML page as PDF document in ASP.NET


Posted Date: 29 Jul 2009    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: DuoDimension SoftwareMember Level: Bronze    
Rating: 1 out of 5Points: 7



Description :



DuoDimension Software unveils PDF Duo .Net component, a fully-fledged HTML to PDF converter, that offers you an easy way to create/convert PDF documents from HTML web page in your own application or ASP.NET web site.

The main class HtmlToPdf provides all necessary methods and properties to enable multi-purpose customization of the resulting PDF. Here is the simplest example code that shows how to convert HTML to PDF in ASP.NET C# :

[-----------[C# example]-----------]


string file_html = @"http:\\www.sitecompany.com\html_pages\convert.html";
string file_pdf = @"http:\\www.sitecompany.com\pdf_doc\report.pdf";
try
{
DuoDimension.HtmlToPdf conv = new DuoDimension.HtmlToPdf();
conv.OpenHTML(file_html);
conv.SavePDF(file_pdf);
System.Diagnostics.Process.Start(file_pdf);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}


[-----------[C# example]-----------]

Also installing package is provided with fully featured demos written in both C# and Visual Basic. Simple examples with source code help you using the PDF Duo .Net component to successfully convert HTML to PDF.

The functionality of the converter cover many particular task:

- Create PDF document using string formed by HTML tags.
- Converting the HTML page from remote address using URL.
- Converting the HTML page represented as string with html tags.
- After converting HTML to PDF open resulting PDF in the browser window without saving it on the hard disk.
- & others.

More information about how to convert HTML to PDF with help of PDF Duo .Net component see on the publisher website
{http://www.duodimension.com/html_pdf_asp.net/component_html_pdf.aspx}

If you have any questions or concerns about component, let us know:
{support@duodimension.com}

P.S. Support team is very friendly & if you want to add some functionality don't stay too long. Contact will give advantages to both sides.

For more details, visit http://www.duodimension.com/html_pdf_asp.net/component_html_pdf.aspx



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Using  .  Pdf  .  Html to pdf  .  Html  .  Convert html to pdf  .  Convert  .  Component  .  Asp.net  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Http Vs Https
Previous Resource: ASP.Net Interview Questions
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET/Web Applications


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use