Deleting Everything between Node A and Node B in Word Document | C# NET

I was exploring “deleting everything between a and b”. Using sections work out better in my scenario (Working with Sections in C#|Aspose.Words for .NET)

@mortenma,

Please compress the following resources into ZIP format and attach the .zip file here for testing:

  • A simplified source Word document
  • Your expected DOCX file showing the desired output. You can create this output file manually by using MS Word.

As soon as you get these pieces of information ready, we will then start further investigation into your particular scenario and provide you code to achieve the same expected output by using Aspose.Words.

Hi Awais.

it was just meant as info. Creating continuous sections and deleting a section was easier in my situation than creating start/end bookmarks and deleting content between the same start/end bookmarks.

No need for support

/Morten

@mortenma,

Alright. In case you have some inquiries or may need any help in future, please let us know by posting a new thread in Aspose.Words’ forum.