Free Support Forum - aspose.com

Number of Lines- pages- Paragraphs are not correct

Hi,

I am calculating statistics using Aspose.Words of a document..but in that I am getting number of words and characters correct but the number of pages, lines and paragraphs are not correct.

Word 2622

Lines 92

Characters 13577

Characters with Spaces 16877

Pages 1

Paragraphs 276

Is there any way to get these stasts right.

Thanks in advance

Prafull

Hi

Thanks for your inquiry. MSWord updates Lines count and Pages count during opening document. Unfortunately Aspose.Words doesn’t update these properties. Aspose.Words document represents content and formatting of a document, not its layout into pages and lines. This feature is called pagination and it is not released yet. Also you can attach your document for testing.

Best regards.