Connecting Tech Pros Worldwide Forums | Help | Site Map

draw string upside down

Cc
Guest
 
Posts: n/a
#1: Nov 20 '05
how do I draw string upside down?



Jay B. Harlow [MVP - Outlook]
Guest
 
Posts: n/a
#2: Nov 20 '05

re: draw string upside down


Cc,
Use the RotateTransform method of the Graphics object to rotate the text 180
degrees. You may also need to use TranslateTransform to shift the origin
back to a location in the client rectangle of the window.

Charles Petzold's book "Programming Microsoft Windows with Microsoft Visual
Basic .NET" has a lengthy chapter on drawing with rotated text & various
other effects.

The Bob Powell's GDI+ FAQ has similar information:
http://www.bobpowell.net/gdiplus_faq.htm

Hope this helps
Jay

"Cc" <kobolds@singnet.com.sg> wrote in message
news:u0ep97biDHA.2592@tk2msftngp13.phx.gbl...[color=blue]
> how do I draw string upside down?
>
>[/color]


Closed Thread


Similar Visual Basic .NET bytes