Hi,
I can’t find this in the documentation : how to retrieve the current page number of a node?
I’d like to add a page break on a certain condition (if i’m on page X or not for example).
Any idea how to do this?
I’m under Aspose.Words for .NET 1.13.7.0.0
Thank you for your support.
Chris
And it seems not to be useable to get the footer page number?
@saberint,
Thanks for your inquiry. Yes, your understanding is correct. HeaderFooter is a section-level node and can only be a child of Section. The LayoutCollector.GetStartPageIndex returns 0 if node cannot be mapped to a page.
Best Regards,
Tahir Manzoor