I am generating a document from a .dot file.
The problems that I am facing are that if I do the following it has no effects to the generated document:
private void RemoveWatermark()
NodeCollection shapes = document.GetChildNodes(NodeType.Shape, true, false);
foreach(Aspose.Words.Drawing.Shape shape in shapes)
if (shape.TextPath.Text == "DRAFT")
Afterwards I generate the document with that code:
using(MemoryStream ms = new MemoryStream())
bytes = ms.ToArray();
The thing is that the watermark still remains in the document.
Aspose.Words Version = 4.0.2, licenced
Any help appreciated,
Dimitrios Toulakis (RESC)