Click to See Complete Forum and Search --> : draw text vertical


Alex. P.
May 7th, 1999, 09:19 AM
hello

I have a small problem. I want to draw text vertical.
I have tried with the methode DrawText(...) but there are not any fitting options.
How can I draw text vertical ?
Could somebody please help me?

thanks a lot
alex

Barry Neyer
May 10th, 1999, 11:35 AM
The way to do this is to change the escapement angle. Code similar to the follwins should work.


LOGFONT lf;
lf.lfEscapement = 900;
cfFontVertical.CreateFontIndirect(&lf);
pDC->SelectObject(&cfFontVertical);