Todd Jeffreys
May 1st, 1999, 05:27 PM
Anybody have some sample code that will draw vertical Text? Wanted for drawing a label on a Y axis. Thanks!
|
Click to See Complete Forum and Search --> : Vertical Text Todd Jeffreys May 1st, 1999, 05:27 PM Anybody have some sample code that will draw vertical Text? Wanted for drawing a label on a Y axis. Thanks! nordyj May 5th, 1999, 06:06 PM The easiest way that I know of to do this is to set up a LOGFONT structure in your OnPaint handler, and set its lfEscapement parameter to 900 (this value is 10ths of degrees, so 900 is 90 degrees). Select the font in, and your font will be rotated 90 degrees. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |