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 the ability to get the total number of pages #871

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Hummel37
Copy link

@Hummel37 Hummel37 commented May 2, 2024

Fixes: #378

Now by calling document.GeneratePdf, it is possible to get the total number of pages that were generated.

byte[] pdf = document.GeneratePdf(out int pageNumbers)

@Hummel37 Hummel37 changed the title Add total pages Add the ability to get the total number of pages May 2, 2024
@ricardorauber
Copy link

+1 on this one! I miss some functionality to create a summary page and this one could be the first step for it.

Ideally, we could get the section page number, so we could easily create a summary.

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

Successfully merging this pull request may close these issues.

Get Page Count Without Writing to Text
2 participants