How to remove picture from word document
Try this:
var document = DocumentModel.Load("input.docx");
var picture = (Picture)document.GetChildElements(true, ElementType.Picture).First();
picture.Content.Delete();
document.Save("output.docx");
How to remove picture from word document
Try this:
var document = DocumentModel.Load("input.docx");
var picture = (Picture)document.GetChildElements(true, ElementType.Picture).First();
picture.Content.Delete();
document.Save("output.docx");