Detect Beginning and end of Page

When writing Word documents what is the easiest way to detect that you are on a new page (ie nothing has been written on the page, but the last text written finished at the end of the previous page and current position is on a new page) or at the end on a page (ie the next thing that is written will be on a new page)?

Thanks.

There is no way to tell in Aspose.Words on what page the written text is. To be able to do this we are currently trying to implement our own pagination engine, similar to what is used by MS Word. So this fuctionality will be available in one of the future versions.

Best regards,