SectionDeleteHeaderFooterShapes Method

Deletes all shapes (drawing objects) from the headers and footers of this section.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public void DeleteHeaderFooterShapes()
Examples
Removes all images and shapes from all headers footers in a section.
Document doc = new Document(MyDir + "Document.docx");
Section section = doc.Sections[0];
section.DeleteHeaderFooterShapes();
See Also