How to represent HTML page as PDF document in ASP.NET
DuoDimension Software reveals PDF Duo. NET, a fully-fledged HTML Converter PDF, which offers an easy way to create / convert PDF documents to HTML Web page in your 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 the conversion from HTML to PDF produced Open PDF in the browser window without saving to disk.
- & others.
More information on how to convert HTML to PDF with the help of PDF Duo. Net component see the website of the issuer
http://www.duodimension.com/html_pdf_asp.net/component_h ...
If you have any questions or concerns about component, let us know:
support@duodimension.com
Private Secretary to support team is very friendly