Free Support Forum - aspose.com

PDF from URL

<o:shapelayout v:ext=“edit”>

<o:idmap v:ext=“edit” data=“1” />

</o:shapelayout><![endif]–>

Hi,

I want to create a pdf file using Aspose.PDf for dotnet. Its contents are to come from any web site page say http://www.xyz.com?id=1234.

Is there any way I can pass the url string to your component and pdf file be generated.

Can you please give some example code to help, so I can check functionality.

Thanks,

Zahid.


This message was posted using Email2Forum by ShL77.

Hello Zahid,

Thanks for your interest in our products.

I'm afraid this feature is currently not supported. But, as a work around, you can read the contents of web page into Stream Object and then use the InLineHTML method to convert this page into PDF format. I'm not sure if this approach can fulfill your requirements or not but please try using our product and in case you encounter any problem, please feel free to contact.

Please visit the following link for information on how to convert HTML to PDF using InLineHTML

We apologize for your inconvenience.