Is it possible to rotate text with specified degree?

  • Thread starter Thread starter kimiraikkonen
  • Start date Start date
K

kimiraikkonen

Hi,
I created a text with drawstring class in order to apply the text onto
an image like applyin a timestamp onto an image,

Dim mygraph As Graphics
mygraph.DrawString("Example text", New Font("Arial", 18,
FontStyle.Regular), Brushes.Red, 10, 33)

Here is the question:
The text appears only as a linear in specified x / y coordinates but i
want to give it a smooth rotation from the edges to fit desired
position on image with specified degree. Is it possible?

Thanks!
 
Hi,
I created a text with drawstring class in order to apply the text onto
an image like applyin a timestamp onto an image,

Dim mygraph As Graphics
mygraph.DrawString("Example text", New Font("Arial", 18,
FontStyle.Regular), Brushes.Red, 10, 33)

Here is the question:
The text appears only as a linear in specified x / y coordinates but i
want to give it a smooth rotation from the edges to fit desired
position on image with specified degree. Is it possible?

Thanks!

OK, i've found "rotatetransform" class under system.drawing.graphics
namespace.

Thanks.
 
Back
Top