Printing on a VB6 Picturebox
Printing on a VB6 Picturebox
(OP)
How can text be printed on a VB6 Picturebox control Labels don't seem to be permitted.
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS Contact USThanks. We have received your request and will respond promptly. Come Join Us!Are you a
Computer / IT professional? Join Tek-Tips Forums!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
Printing on a VB6 Picturebox
|
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: Printing on a VB6 Picturebox
RE: Printing on a VB6 Picturebox
PictureBox control is usually used to show a picture / image.
---- Andy
"Hmm...they have the internet on computers now"--Homer Simpson
RE: Printing on a VB6 Picturebox
Such a sheltered life you lead, Andy
If you just want to show a picture ... use the much more limited Image control
RE: Printing on a VB6 Picturebox
Experience is something you don't get until just after you need it.
RE: Printing on a VB6 Picturebox
here's an example
CODE -->
With Picture1 .AutoRedraw = True .ScaleMode = vbPixels .FontName = "Arial" .FontSize = 18 .FontBold = True .CurrentX = 15 .CurrentY = 15 .ForeColor = vbBlack Picture1.Print "Just an example" .CurrentX = 13 .CurrentY = 13 .ForeColor = vbWhite Picture1.Print "Just an example" .AutoRedraw = False End With
RE: Printing on a VB6 Picturebox