Convert .sfdt to pdf

Hello!
is there a way to import/convert an sfdt file from the documenteditor to a pdf  into pdf viewer without doing two conversions? (sfdt -> word -> pdf)? 

1 Reply 1 reply marked as answer

AA Akshaya Arivoli Syncfusion Team June 29, 2020 11:31 AM UTC

Hi Amanda, 

Thank you for contacting Syncfusion support. 

Document editor doesn’t provide support to convert sfdt to PDF. Hence, we need to convert it as docx document and with the help of DocIO, we can convert the document to PDF.  

You can refer the sample from below link, where the document editor content passed as sfdt string from client-side is saved as docx stream, which is then passed to DocIO for PDF conversion.  


Then we can load that PDF document in PDF Viewer using documentPath API during control initialization and dynamically using the load()API . We can also pass base64 sting the APIs  


Please try it and revert us with more details if you still need any further assistance. 

Regards, 
Akshaya

Marked as answer
Loader.
Up arrow icon