Converting webpage to pdf

Hi,



I have tried to convert the webpage to pdf using the below code



Convert HTML to PDF in .NET|Aspose.PDF for .NET



but am getting the below error

{“Specified argument was out of the range of valid values.\r\nParameter name: i”}

I was trying to convert webpage to pdf

but the converted pdf is not in a good format

am just testing with google.com, the pdf is looking weird

Hi there,

Thanks for your inquiry. I am afraid while converting web page to PDF, Aspose can not render web page to WYSIWYG. Please share which API you are using for Web to PDF conversion. So we will look into it and will provide you information accordingly.

Best Regards,

Yasotha:
Hi,

I have tried to convert the webpage to pdf using the below code

but am getting the below error
{“Specified argument was out of the range of valid values.\r\nParameter name: i”}


Hi there,

Thanks for your inquiry. I have tested the scenario with Aspose.Pdf for .NET and noticed the reported Exception. So we have logged a ticket PDFNEWNET-38756 in our issue tracking system for further investigation and resolution. we will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNET-38756) have been fixed in Aspose.PDF for .NET 21.5.