Fraser_Admin
asked on
Rotate text in vb6
Using the vb6 printer object how can I rotate my text.
I want to print like this
Upright (0 degrees) or
Shift text Sideways (90 degrees) or
Shift text Upside Down (180 degrees) or
Shift text Sideways (270 degrees)
I want to print like this
Upright (0 degrees) or
Shift text Sideways (90 degrees) or
Shift text Upside Down (180 degrees) or
Shift text Sideways (270 degrees)
ASKER
I can't seem to get this to print. The code all runs, but it doesn't send it to the printer??
ASKER
If I print this to my form the angle number are a mess.
ASKER
OK I got this working. Is there anyway I can send a picturebox instead of text?
ASKER
This is what I am trying to do. I have a barcode that I created and stored into a picture box. I would like to be able to rotate it 90 degrees and then print it to the printer (with some other text which is also rotated). I already have my text printing in the correct spot. I just need to get my barcode out.
Thanks
Thanks
Hi Fraser,
Glad to hear that you were able to get the code working. Is the barcode you are trying to rotate just a regular image in a picture box?
Tom
Glad to hear that you were able to get the code working. Is the barcode you are trying to rotate just a regular image in a picture box?
Tom
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am only using a black and white barcode. I just took a quick look, but I will look further. I will let you know how I make out.
Any updates?
Thanks.
Thanks.
ASKER
I havn't got a chance to look at it again. It will be a couple of more days before I can. Sorry I'm being so slow. Trying to do to many things at once. I will keep you posted.
http://www.devx.com/vb2themax/Tip/19101
Hope this helps!
Tom