Apache POI WP

doc.getRange().getSection(0).delete();		
String text = doc.getRange().text();

Aspose.Words

doc.getSections().get(0).getRange().delete();
String text = doc.getRange().getText();


Download Source Code

For More Examples, Please Visit Aspose Docs

Last edited Jun 6, 2014 at 6:42 AM by shoaibkhan, version 2