public void SectionsDeleteHeaderFooter()
 {
     //ExStart
     //ExFor:Section.ClearHeadersFooters
     //ExId:SectionsDeleteHeaderFooter
     //ExSummary:Clears content of all headers and footers in a section.
     Aspose.Words.Document doc     = new Aspose.Words.Document(MyDir + "Document.doc");
     Aspose.Words.Section  section = doc.Sections[0];
     section.ClearHeadersFooters();
     //ExEnd
 }