Posted 7 March 2019, 8:30 am EST
How can I rotate my text watermark; I’d like to make the watermark at a 45* angle? I’m using VB.NET and the code below works fine for adding a horizontal, text watermark.
I create the text format:
```
Dim tf As New GrapeCity.Documents.Text.TextFormat
tf.Font = StandardFonts.HelveticaBold
tf.FontSize = 55
tf.ForeColor = Color.FromArgb(100, 255, 182, 193)
I then add the watermark:
```
For Each page In doc.Pages
Dim watermark As New WatermarkAnnotation
watermark.Text = "Do Not Disclose"
watermark.TextFormat = tf
watermark.Name = "DiscloseWM"
watermark.Rect = New RectangleF(100.5F, 110.5F, 500, 250)
page.Annotations.Add(watermark)
Next