Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF file does not open #79

Open
arpasdream opened this issue Aug 11, 2023 · 8 comments
Open

PDF file does not open #79

arpasdream opened this issue Aug 11, 2023 · 8 comments

Comments

@arpasdream
Copy link

arpasdream commented Aug 11, 2023

When i launch the index.html file on my local user, the pdf doesn't open. The application must run on server-side?

Screenshot 2023-08-11 at 12-32-05 PDF Annotation And Drawing Markup Plugin Example

@RavishaHesh
Copy link
Owner

Please check the developer console of the browser for any Javascript or network errors(Ex: cross-origin errors)

@arpasdream
Copy link
Author

Ok thanks I solved... but how do i save the pdf with the same name as the pdf file i open?
Thanks.

@RavishaHesh
Copy link
Owner

You can pass the filename into the savePdf method

PDFAnnotate.prototype.savePdf = function (fileName) {

@arpasdream
Copy link
Author

arpasdream commented Aug 29, 2023 via email

@arpasdream
Copy link
Author

arpasdream commented Sep 4, 2023 via email

@RavishaHesh
Copy link
Owner

This doesn't support out-of-the-box. You should be able to achieve that by changing this line of the js

@arpasdream
Copy link
Author

arpasdream commented Sep 4, 2023 via email

@arpasdream
Copy link
Author

Hi, it's possible to download the PDF as a original document uploaded and not as an image?
Thanks...

@arpasdream arpasdream reopened this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants