We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

LayoutCollector - paragraph is showing a different start page index and end page index

Using Aspose Word .NET 21.12

Paragraph using LayoutCollector is showing the pageIndex of page 11 when the paragraph is physically rendered in page 10. EndingPageIndex shows the same values, 11.

image.jpg (239.6 KB)

Attached is the snipped of code.

@stephen_smart-wares_com Could you please attach the problematic document here for testing? we will check the issue and provide you more information.
Also, please note, to properly layout the document Aspose.Words requires fonts used in the document. So please make sure the fonts are available to Aspose.Words.