Copy link to clipboard
Copied
Hi. I am dynamically loading a file in the PDF Embed API. I can get the file metadata (eg the page count etc). However, I don't see any option to get the file-size.
My use-case requires me to check the file-size - and only show the annotation tools for files that are smaller than 5mb.
Hi @vmit
Thanks for using PDF Embed API. Currently PDF Embed API doesn't provides any API to get the file size.
However, for your use you can try out below suggestions:
Copy link to clipboard
Copied
Hi @vmit
Thanks for using PDF Embed API. Currently PDF Embed API doesn't provides any API to get the file size.
However, for your use you can try out below suggestions:
Feel free to reach out incase of any queries / concerns.
Copy link to clipboard
Copied
Thank you. We will implement this.