Hi,
Thanks you for considering Aspose.
I have tried the following code and was unable to reproduce the error that you report. Please have a look at the code and tell me if you are trying to do something different. Also what type of image are you using for watermark.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
System.Drawing.Image image = System.Drawing.Image.FromFile("test.png");
// Insert a floating picture.
Aspose.Words.Drawing.Shape shape = builder.InsertImage(image);
shape.WrapType = Aspose.Words.Drawing.WrapType.None;
shape.BehindText = true;
shape.RelativeHorizontalPosition = Aspose.Words.Drawing.RelativeHorizontalPosition.Page;
shape.RelativeVerticalPosition = Aspose.Words.Drawing.RelativeVerticalPosition.Page;
// Calculate image left and top position so it appears in the centre of the page.
shape.Left = (builder.PageSetup.PageWidth - shape.Width) / 2;
shape.Top = (builder.PageSetup.PageHeight - shape.Height) / 2;
// Save the doc in a xml fille that can be handled by Aspose.Pdf.
doc.Save("test.xml", SaveFormat.AsposePdf);
// New a pdf object.
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
// Bind content from the named xml file.
pdf.BindXML("test.xml", null);
// Save the result
pdf.Save("test.pdf");
Thanks.
Adeel Ahmad
Support Developer
Aspose Changsha Team
http://www.aspose.com/Wiki/default. aspx/Aspose.Corporate/ContactChangsha.html