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

How do I get the total number of pages in PDF? #63

Closed
daydayhappychao opened this issue Feb 6, 2018 · 3 comments
Closed

How do I get the total number of pages in PDF? #63

daydayhappychao opened this issue Feb 6, 2018 · 3 comments

Comments

@daydayhappychao
Copy link

I use previousButton and nextButton to control the number of pages.
but I can't get the total number of pages in PDF , it made the nextButton easy to make mistakes

@daydayhappychao
Copy link
Author

thanks

@mikecousins
Copy link
Owner

mikecousins commented Feb 6, 2018

I assume you figured this out already but the onDocumentComplete event passes in the total number of pages as an argument. You can see an example in the readme.

@daydayhappychao
Copy link
Author

Thank you for your reply. I didn't read the document carefully enough.

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