Remove Sections
Hi, I am loading an existing .docx file, it contains some paragraphs and some continuous section-breaks for structuring. Now i want to remove some sections, included the text between two section-breaks. I have solved this by cleaning up the whole document and then reinsert the sections i want. Is there a better way to do this? And finally i want to remove all section-breaks, so that the document only contains text. Is there any possible solution?
I have a similar situation - I have a document that have sections that are optional, and programmatically want to remove when not applicable. What is the best way to remove a section?
Hi, Currently, there is no Section.Remove() method. But v2.1 will have this kind of method.
Thank you.