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

Softarea51.com is your source for all the latest computer technology and software related press releases.
Browse our archive for more press releases!

Released on: 28, July 2009
, Author: DuoDimension Software
, Audience: Internet related

Recommended: System Errors? Click here to Fix your PC »


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.comhtml_pagesconvert.html";
string file_pdf = @"http:\www.sitecompany.compdf_docreport.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.
Related downloads


batch office document converter, convert doc to html, html to rtf, rtf to html, doc to text, html to doc, text to html and html to text, it can be called from VB, VC, DELPHI.

PDF Splitter is tool to split multi-page PDF files in single page PDFs. Command line version also available.

Password protect web page, html page and whole website. It uses strong industrial standard encryption algorithms to encrypt the web pages with password, you can password protect web pages with single password or multiple user names and passwords.

Web Password Wizard is an application to encrypt and password protect web page, html page and whole web site!

A modern web site page has a a complicated structure that is hard to reveal. Frequently, it is required to find all the pictures URLs, to extract all the links from the page or to see the attached CSS style sheet.

An HTML Editor with Page Samples that demystify the process of creating Web Pages using HTML and Cascading Style Sheets. It runs on Windows 98, ME, XP, and 2000 with a minimum screen size of 1024 by 768 pixels. The Demo has no time restrictions.

DIVA - Database Immersive Visual Analysis: a viewer for databases physical structure that can show you any section of DB in different ways (2D, 2.5D, 3D). Using DIVA you can easily understand connections between tables.

Do you already have great bookmarks in your Favorites menu? Export them to a HTML page and publish it on the Net or send it to your friend! Bookmark Publisher will easily and quickly create such an HTML page.

TIF to PDF Converter is a quick and easy-to-use PDF utility that is designed to convert multi-page TIF file to PDF document. Just specify the file name of a TIF file, TIF to PDF Converter will directly convert it to a PDF document.

ShellRun is a program that will display a web page when your CD or DVD is inserted into a Windows computer. ShellRun can alternatively display a PDF file, Word document, MP3 file or any other document. AutoRun works in Windows only.
Softarea51.com RSS Feed

Get RSS updates on latest computer technology and software related press releases Subscribe to Latest Press Releases RSS feed    Subscribe



You are welcome to include these headlines in your own pages. If you want to find out how to parse this RSS file please read our tutorial How to parse RSS feeds with PHP.