We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Load/save document in base64 in the DocumentEditor

Hi,

- Can I pass a string in base64 format to a DocumentEditor function to open the document?

- Is there a function to get the file from the DocumentEditor in base64 format?

Thank you!


1 Reply

SM Suriya Murugan Syncfusion Team December 28, 2022 04:07 AM UTC

Hi Pere,


## Can I pass a string in base64 format to a DocumentEditor function to open the document?

Document editor open API will accept the SFDT format alone. So, please convert the base64 format to SFDT in backend and then pass it in Open method.


## Is there a function to get the file from the DocumentEditor in base64 format?

There is no built-in method in the Document Editor to get the file from  base64 format.



Regards,

Suriya M.



Loader.
Live Chat Icon For mobile
Up arrow icon