Hi,
Using the docker image documenteditor, I'm trying to use the Export api for PDF return type:
const handlePDFConversion = async () => { |
Using this way, the returned blob has always size : 0, and the created PDF is corrupted.
in my headers I set Accept: 'application/pdf'
and responseType: 'blob'
Do you know what I'm doing wrong?
trying to append filename as '.html' results in error.
regards,
Francois
Has the issue with exporting to a PDF using the /Export endpoint been fixed yet? We're using the docker image for our word processor and we're seeing the same issue. The blob comes back with 0 bytes and the PDF is corrupt.
Regarding the issue you reported in your query, we would like to clarify that the public docker for the word processor does not support exporting PDF. Therefore, we have integrated an export PDF feature and attached a sample for your requirement. Please use the attached project with Export web action updated with PDF Exporting(Converting to requires additional Syncfusion.DocIORenderer.Net.Core nuget to be added)