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
Printable View
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
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
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
hi
create a font with lfEscapement and lfOrientation as 900
and lfFaceName as "@Ariel".
regards
ratheeshravi
:)