Get Current Page Number

Is there a way to get the current page number for a section from DocumentBuilder? So that I can manually generate an initial TOC table.
Thanks
Matthew

Hi

Thanks for your request. Unfortunately, there is no public API that allows you to determine where page starts or ends. Also, there is no way to find the position of the particular node or DocumentBuilder cursor position on page. You can leave your suggestions regarding this feature in the following blog.
https://blog.aspose.com/2008/12/01/where-on-a-page-is-my-paragraph
Best regards.