CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    1

    draw text vertical

    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


  2. #2
    Join Date
    May 1999
    Posts
    6

    Re: draw text vertical

    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);





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured