Thanks for sharing the detail. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10909. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved. We apologize for your inconvenience.
I want to be able to get the lines inside the table too.
I suggest you please check the attached “documentLayoutHelper
example project. This sample demonstrates how to easily work with the
layout elements of a document and access the pages, lines, spans etc.
Hope this helps you. Please let us know if you have any more queries.