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

Add PageCount example #17

Closed
jayminkapish opened this issue Apr 5, 2018 · 2 comments

Comments

@jayminkapish
Copy link

commented Apr 5, 2018

This is a great package. Thanks for building this.

I have a quick request: is it possible for you to add an example of how to get PageCount for a given PDF?

@hhrutter

This comment has been minimized.

Copy link
Collaborator

commented Apr 12, 2018

see api.go:

ctx, durRead, durVal, durOpt, err := readValidateAndOptimize(fileIn, config, fromStart)

ctx.PageCount

Let me know if you have any further questions.

@hhrutter hhrutter self-assigned this Apr 12, 2018

@hhrutter

This comment has been minimized.

Copy link
Collaborator

commented Apr 17, 2018

see v0.1.10 for a testcase for this.

@hhrutter hhrutter closed this Apr 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.