|
-
October 27th, 1999, 11:27 AM
#1
How to write Text verticaly using Textout of CDC
Hi everybody,
I'm drawing a graph on the screen using CDC MoveTo and LineTo,
everything is fine but I want to label my y axe and I only have space for
vertical writing...I tried using TextOut but doesn't work !!!
Can anybody help,
Thanks in advance
-
October 27th, 1999, 11:40 AM
#2
Re: How to write Text verticaly using Textout of CDC
Hi,
Create a font with CreateFontIndirect.
Set the data member (lfEscapement or lfOrientation) of the LOGFONT struct to define the desired orientation.
Select this font before drawing vertical text
I don't believe this works with all fonts
I hope this helps
Gabriel
-
June 10th, 2002, 08:22 AM
#3
Can you tell me what should be the value of (lfEscapement or lfOrientation) to draw vertical text?
Can you also tell me the name of at least ont font which support drawing of vertical text?
Thanks in advance
-
June 10th, 2002, 08:34 AM
#4
hi
create a font with lfEscapement and lfOrientation as 900
and lfFaceName as "@Ariel".
regards
ratheeshravi
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
|