Hello,
when i put a watermark in position bottom and right, i dont see it when i print the document.
See the code and the file attach
Aspose.Words.Drawing.Shape watermark = new Aspose.Words.Drawing.Shape(doc, Aspose.Words.Drawing.ShapeType.TextPlainText);
// Set up the text of the watermark.
watermark.TextPath.Text = watermarkText;
watermark.TextPath.FontFamily = "Arial";
watermark.Width = watermarkText.Length * 3;
watermark.Height = 8 * watermarkText.Split(new string[]{"\n"},StringSplitOptions.RemoveEmptyEntries).Count();
watermark.Rotation = 0;
watermark.VerticalAlignment = Aspose.Words.Drawing.VerticalAlignment.Bottom;
watermark.HorizontalAlignment = Aspose.Words.Drawing.HorizontalAlignment.Right;
watermark.Fill.Color = System.Drawing.Color.Black;
watermark.StrokeColor = System.Drawing.Color.Black;
watermark.RelativeHorizontalPosition = RelativeHorizontalPosition.Page;
watermark.RelativeVerticalPosition = RelativeVerticalPosition.Page;
watermark.WrapType = WrapType.None;
// Create a new paragraph and append the watermark to this paragraph.
Aspose.Words.Paragraph watermarkPara = new Aspose.Words.Paragraph(doc);
watermarkPara.ParagraphBreakFont.Size = 1;
watermarkPara.AppendChild(watermark);
Aspose.Words.Section sect = doc.FirstSection;
// Insert the watermark into all headers of each document section.
//foreach (Aspose.Words.Section sect in doc.Sections)
//{
// There could be up to three different headers in each section, since we want
// the watermark to appear on all pages, insert into all headers.
InsertWatermarkIntoHeader(watermarkPara, sect, HeaderFooterType.HeaderPrimary);
InsertWatermarkIntoHeader(watermarkPara, sect, HeaderFooterType.HeaderFirst);
InsertWatermarkIntoHeader(watermarkPara, sect, HeaderFooterType.HeaderEven);
// }
Can you help me??
Laurent