When I try to convert attached HTML file to PDF , it doesn’t show any error but generate only zero kilobyte file and cannot open.What is the root cause of this?
My code below.
Aspose.Pdf.Generator.Pdf pdf= new Aspose.Pdf.Generator.Pdf();
string ReadHTML = File.ReadAllText(html);
Hi sorry ,
file attached.change file extension into html as system does not allow to upload html file.
Sorry for the inconvenience faced. While using the latest version of Aspose.Pdf for .NET 8.1.0, I've managed to reproduce this issue on my side and logged the issue in our bug tracking system as PDFNEWNET-35449 for further investigation and resolution. I've also linked your request to this issue and you will be notified via this thread as soon as it is resolved.
Please feel free to contact us for any further assistance.
mso-fareast-font-family:“Times New Roman”;mso-ansi-language:EN-US;mso-fareast-language: