You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some research, I found out that I can use the getFileAsync api to get the current file as a PDF byte array object, as the example shows. My question however is, can I 'save' that output also to a specific file location. I know that JavaScript libraries / running in the browser has its limitations, for security reasons, to save the file directly on a specific file location, however, you are kind of doing the same when just saving the workbook/worksheet regularly? Or am I mistaken?
And is it still required to use some kind of library to convert the byte array to PDF, or am I missing something?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After some research, I found out that I can use the
getFileAsync
api to get the current file as a PDF byte array object, as the example shows. My question however is, can I 'save' that output also to a specific file location. I know that JavaScript libraries / running in the browser has its limitations, for security reasons, to save the file directly on a specific file location, however, you are kind of doing the same when just saving the workbook/worksheet regularly? Or am I mistaken?And is it still required to use some kind of library to convert the byte array to PDF, or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions