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: 19.10
Syntax
public void DeleteHeaderFooterShapes()
Examples
Removes all images and shapes from all headers footers in a section.
[C#]

Document doc = new Document(MyDir + "Document.doc");
Section section = doc.Sections[0];
section.DeleteHeaderFooterShapes();
See Also