We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AspToPdf conversion

Thread ID:

Created:

Updated:

Platform:

Replies:

69059 Oct 11,2007 01:31 PM UTC Oct 20,2007 06:11 AM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: PDF
Boris Beker
Asked On October 11, 2007 01:31 PM UTC

Hi,
I am testing your product in order to create a convertion of aspx page into Pdf format.
Is it possible to do it inside web application (VS2005) ?

Ganesh Shah
Replied On October 17, 2007 10:59 AM UTC

Yes, html to pdf conversion can be done in VS2005.
>Hi,
I am testing your product in order to create a convertion of aspx page into Pdf format.
Is it possible to do it inside web application (VS2005) ?

Administrator [Syncfusion]
Replied On October 20, 2007 06:11 AM UTC

Hi Boris,

Sorry for the delayed response.

Yes, it is possible with Essential PDF to convert Aspx files into PDF in ASP.Net environment.

Please follow the steps below that has to be done under Asp.net environment for converting Aspx webpage to PDF document .

1) Include the attribute AspCompat="true" in the @Page directive.

Here is the code snippet

[Aspx]
<%@ Page Language="C#" AutoEventWireup="true" AspCompat="true" %>

2) Reference the "AxSHDocVw.dll, SHDocVw.dll" assembly to the project. [This dll can be found along with the attached sample.]

3) Place these COM assemblies in the "BIN" directory of your project.

Please refer the working sample in the below location that demonstrates on converting
Aspx page to PDF document.

http://websamples.syncfusion.com/samples/PDF.Web/5.2.0.25/HTMLToPDFweb/main.htm

Please let me know if you have any other queries.

Regards,
Jaya

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;