473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

draw string upside down

Cc
how do I draw string upside down?
Nov 20 '05 #1
1 2552
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" <ko*****@singnet.com.sg> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
how do I draw string upside down?

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: sector119 | last post by:
How am I able to draw a sting with some angle on image?
35
by: michael.casey | last post by:
The purpose of this post is to obtain the communities opinion of the usefulness, efficiency, and most importantly the correctness of this small piece of code. I thank everyone in advance for your...
3
by: Adriano | last post by:
Hello, the following code draws 'top to bottom' vertical text, any ideas how to draw 'bottom to top' one? g.DrawString("This is a test vertical string", New Font("Tahoma", 8,...
0
by: Kwok | last post by:
Using html, I want to rotate the word upside down. When a user input a sentence, the sentence then will rotate 180degree. I use <div>, it can only rotate 90degree..... can anyone help me??
2
by: =?Utf-8?B?bm9vcmphYmFs?= | last post by:
My cat lay along the lower end of my keyboard while the computer was on - which turned the contents of the screen upside down! Re-booting and shutting down have failed to solve the problem. I...
5
by: Gina_Marano | last post by:
Hey All, Is it possible to draw an image upside down? I am using Microsofts example of "Printing a local report without preview". The only trick is that I want to flip the image upside...
5
by: r035198x | last post by:
Does anyone know the keys to tilt the desktop on windows? Friend of mine is currently up-side down now. Thanks in advance.
2
by: Twayne | last post by:
Here's your chance to clobber a newbie good! That's OK, I can take it as long as it's relevant<g>. In the following code snippet: -------------------------------- <?php if(empty($_POST)) echo...
12
Banfa
by: Banfa | last post by:
Nice article but what does LSP actually stand for?
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.