Document position

What I’m trying to figure out is what page I’m on and how much space is left at the bottom of a page. I’m creating a document totally from code and it can’t be longer than four pages. I need to know if my last data element will fit on the last page. Is this possible?
Thanks

Hi
Thanks for your interest in Aspose.Words. Unfortunately, Aspose.Words doesn’t have the possibility to know the end of a page. Aspose.Words document represents content and formatting of a document, not its layout into lines and pages. This feature is called pagination and it is not released yet. Please see FAQ for more information.
Best regards.