Important alert: (current site time 5/26/2015 10:57:54 AM EDT)

winzip icon

Cool Rotating Text

Submitted on: 7/24/2001 9:43:35 AM
Level: Advanced
User Rating: By 10 Users
Compatibility: VB 6.0
Views: 5587
author picture
     Ever wanted to rotate your text this is the code for you. Its pretty cool!!! Plz vote & comments =)
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net

Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Other 27 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

7/24/2001 7:29:00 PMJeremiah

Why did someone give this a poor rating? This is pretty cool. And useful if you want to put vertical or angled text on your form. I'm giving you 5 greenish-gray marble things. I think if someone's going to give a poor rating they at least should tell the reason why...
(If this comment was disrespectful, please report it.)

7/25/2001 10:53:14 AMstephenb

Clean code. Excellent.
I agree, if you are going to down check someone at least have the nerve to tell you why they didn't like it.
(If this comment was disrespectful, please report it.)

3/5/2002 6:22:35 AMDanne

Nice code, although I couldnt find out how to draw on a hdc other than the form, like a picbox... If u have an solution, plz respond, thx.
(If this comment was disrespectful, please report it.)

3/9/2002 7:18:28 PMJohn

Truly great code. But as Danne suggested, there should be a way to draw the text on another HDC (e.g. a UserControl)
(If this comment was disrespectful, please report it.)

4/17/2002 10:54:18 AMBenny

I'm working a charting program together, and this is exactly what I needed! Thanks for digging up the API. Very clean code, gave it a 5!
(If this comment was disrespectful, please report it.)

4/17/2002 11:10:09 AMBenny

Response: For those who wanted to be able to use this code on a user control (or other HDC) check the code where ZATRiX references hdc (there are two places) change these to be the HDC of the object that you are writing to. Also change the refernces to CurrentX and CurrentY to be on the object you want to print to. I just added this to a usercontrol with no problem by doing this.
(If this comment was disrespectful, please report it.)

6/5/2002 4:23:02 PMTy McNeer

Thank you very much. Your code has saved me a lot of development time. Keep up the good work!! I rated this code a 5, and you deserve it. Once again, thank you.
(If this comment was disrespectful, please report it.)

1/27/2003 12:24:36 PM

can you make text vertical as I can print out?
(If this comment was disrespectful, please report it.)

7/10/2003 1:14:19 AM

Your code works perfect in win98 but it does not work in win2000, what am i doing wrong?
(If this comment was disrespectful, please report it.)

6/12/2004 11:40:03 AMJohn Attfield

A nice little program but!

Apart from the timer routine, I found the code identical to that in the book "Visual Basic Graphics Programming" by Rod Stephens
I think you should at least say where you get your code from if you want people to vote for you.
(If this comment was disrespectful, please report it.)


Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.