|
-
May 1st, 1999, 05:27 PM
#1
Vertical Text
Anybody have some sample code that will draw vertical Text? Wanted for drawing a label on a Y axis. Thanks!
-
May 5th, 1999, 06:06 PM
#2
Re: Vertical Text
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|