Free Support Forum -

Convert HTML to PDF using variable

I am testing out your PDF cloud SDK and I’m attempting to convert HTML stored within a variable as it is more convenient for us. I only see the option to convert an HTML file. Are there any functions or parameters available for passing the HTML as a variable for conversion?


I am afraid currently Aspose.PDF Cloud API does not support converting HTML from the request body to PDF. We have logged a feature request (PDFCLOUD-1720) for your requirement. Meanwhile, you can use ConverDocument API of Aspose.Words Cloud API can convert HTML to PDF from the request body.

Thank you. I will try that.

1 Like