Hello! We have preview with background in our doc. but we want to remove the background when printing. Is that possible?
Please ZIP and upload your sample input Word document (you want to remove background from) here for testing. We will then investigate the scenario on our end and provide you more information.
Sicklist.zip (800.0 KB)
You can remove that Shape node from Word document before sending it to printer. Here is sample code:
Document doc = new Document(@"E:\\Temp\\Sicklist\\Sicklist.docx"); Shape backImage = (Shape)doc.GetChildNodes(NodeType.Shape, true); backImage.Remove(); doc.Print();
Hope, this helps.