I'm using this:
CString string=" Some Text";
dc.SetTextAlign( VTA_CENTER );
dc.TextOut( 330, 610, string );
How do I rotate a text?
(For example I want the text to be vertical not horizontal)
I'm using this:
CString string=" Some Text";
dc.SetTextAlign( VTA_CENTER );
dc.TextOut( 330, 610, string );
How do I rotate a text?
(For example I want the text to be vertical not horizontal)
Also, Why the text rectangle is white?
You can alter the angle of the text by creating a font using CreateFont() and specifying the orientation and escapement parameters to the angle you require.
To change the background colour you use SetBkColor().
zen
It works!
Thanks