简体   繁体   中英

how to split a word file page wise using C#.NET(4) and open xml sdk 2.0?

I have my application written using C#.net and open XML SDK(2.0).I have spitted the word file paragraph wise and section wise using open XML tags.But i could not find anything about split a word file page wise...

Pleas Guide me get out of this issue.

However, after Word (or Word Automation Services) has rendered the document, you can find the w:lastRenderedPageBreak element, which, combined with hard page breaks, can let you know where page breaks are. There are no guarantees about this - you could potentially go into an Open XML document and alter content using the Open XML SDK, and then the w:lastRenderedPageBreak elements would not be in the correct place.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM