Identifying pagebreak using Aspose java API

Hi,

I am using a Aspose words for java version 10. I have created a document with three page breaks.How to identify that page break exist after the particular content using Aspose words for java API.

Hi,

Reply for my previous Question.

Hi
Thanks for your request. PageBreak is a simple character within a Run. Please see the following link:
https://reference.aspose.com/words/java/com.aspose.words/controlchar/#PAGE-BREAK
Best regards,

Hi,

Thanks for your reply. Is there any way to find the presence of page break rather than searching for \f in each run content?.

Hi
Thanks for your inquiry. As a variant, you can try using DocumentVisitor to achieve this. Please follow the link to learn more about DocuemntVisitor:
https://reference.aspose.com/words/java/com.aspose.words/DocumentVisitor
Hope this helps.
Best regards,