How do i watermark diagonally on images?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/91521/how-can-drawstring-method-be-used-for-writing-diagonal-way">How can drawString method be used for writing diagonal way</a><br>
  <a href="http://stackoverflow.com/questions/4460258/c-rotated-text-align">c#, Rotated text align</a>  </p>
</blockquote>



<p>I want to add a text diagonally (starting from bottom left to top right) as a watermark on images.I have added the text in center of the image but don 't know how to set it diagonally. </p>

<p>C# Code:</p>

<pre><code> Graphics g = Graphics.FromImage(Im);
 Brush myBrush = new SolidBrush(System.Drawing.Color.FromArgb  (opac,System.Drawing.Color.LightSteelBlue));

 var f = new System.Drawing.Font(FontFamily.GenericSerif, 30);
 SizeF sz = g.MeasureString(text, ft);

 X = ((int)(Im.Width - sz.Width) / 2); 
 Y = ((int)(Im.Height - sz.Height) / 2);
 g.DrawString(text, ft, myBrush, new System.Drawing.Point(X, Y));
 Im.Save(OutPutStream, ImageFormat.Png);
</code></pre>
