Get the absolute position of a paragraph or Node in the doc

Looking forward to Q&A support.

For example, if you want to obtain the absolute position of [项目名称111] in the file (the result position is from 20 to 27), what method can be used?

test file.docx (21.6 KB)

@qqdong You can use LayoutEnumerator to get layout information from the document. The example in the documentation shows how to travers a document’s layout entities.