Hi,
i used the below code to get a water mark text into a word document
but nothing(water mark text) is displayed in the document
Anybody can suggest what could be done
Dim doc As Document = New Document
Dim builder As DocumentBuilder = New DocumentBuilder(doc)
Dim shape As Aspose.Words.Drawing.Shape = New Aspose.Words.Drawing.Shape(doc, Aspose.Words.Drawing.ShapeType.TextSlantUp)
shape.TextPath.Size = 100
shape.TextPath.Text = "DRAFT IGATE"
shape.TextPath.Bold = True
shape.WrapType = Aspose.Words.Drawing.WrapType.None
shape.BehindText = True
shape.RelativeHorizontalPosition = Aspose.Words.Drawing.RelativeHorizontalPosition.Page
shape.HorizontalAlignment = Aspose.Words.Drawing.HorizontalAlignment.Center
shape.RelativeVerticalPosition = Aspose.Words.Drawing.RelativeVerticalPosition.Page
shape.VerticalAlignment = Aspose.Words.Drawing.VerticalAlignment.Center
builder.MoveToHeaderFooter(HeaderFooterType.HeaderPrimary)
builder.InsertNode(shape)
doc.Save("DRAFT.doc", 1, SaveType.OpenInWord, Response)