question

zequion-0308 avatar image
0 Votes"
zequion-0308 asked HungChunYu-3579 answered

OpenXml get page number to which each paragraph

I have a Word docx file and I want to retrieve all the paragraphs in OpenXml with c#.
I need to know:
1.-The number of pages of the Documents.
2.-The page number to which each paragraph belongs.

Can you show an example where the paragraphs of the document are read?

openspecs-office-fileformats
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

HungChunYu-3579 avatar image
0 Votes"
HungChunYu-3579 answered

Hi @zequion-0308

Thank you for contacting Microsoft Open Specifications Support. For how to question with OpenXml SDK, Stack Overflow would be the place. Make sure to tag your question with [openxml-sdk]

Here is a post might be what you are looking for how-to-get-page-numbers-based-on-openxmlelement


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.