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

Cannot Detect true page count #473

Open
Ali-YousefiTelori opened this issue Mar 1, 2024 · 1 comment
Open

Cannot Detect true page count #473

Ali-YousefiTelori opened this issue Mar 1, 2024 · 1 comment

Comments

@Ali-YousefiTelori
Copy link

Ali-YousefiTelori commented Mar 1, 2024

Here is an attachment file that has 5 pages, But Xceed returned to me only 3 pages count:

            using (var document = DocX.Load("example.docx"))
            {
                var pageCount = document.GetPageCount();
            }

Quote - Copy.docx

@XceedBoucherS
Copy link
Collaborator

Hi,

I believe this is because you are using big images.
You could always try with smaller images and see if it help, until this issue is fixed.

Thank you

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