Saving DOCX as XPS and PDF produces unwanted watermark

I am trying to output the attached docx (two page document, first page has a watermark, headers and footers, and the second does not).

var doc = new Document(@“C:\Temp\docx\Output-HtmlDocx-1.docx”);

doc.Save(@“C:\Temp\docx\Output-HtmlDocx-1-Out.pdf”,
Aspose.Words.
SaveFormat.Pdf);

doc.Save(@“C:\Temp\docx\Output-HtmlDocx-1-Out.xps”, Aspose.Words.SaveFormat.Xps);

When saved in a different format (namely PDF and XPS) the watermark is carried over onto the second page. I have attached the two resultant files.
Hi there,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13354. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-13354) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.