public void SectionDeleteHeaderFooterShapes()
{
//ExStart
//ExFor:Section.DeleteHeaderFooterShapes
//ExSummary:Removes all images and shapes from all headers footers in a section.
Document doc = new Document(MyDir + "Document.doc");
Section section = doc.Sections[0];
section.DeleteHeaderFooterShapes();
//ExEnd
}