|
-
Aug 7th, 2000, 06:58 PM
#1
Thread Starter
Junior Member
Hello!
I tried to print the content of a picture box I have drawed some stuff into to my printer. I tried command
Printer.PaintPicture Me.Picture1, 1, 1
But Ill always get an error "Invalid Picture".
Is there any way I can print the content of a picture box easily or hardly?
Thanks for all help,
- Ville
......................
Ville Mattila
-
Aug 7th, 2000, 11:06 PM
#2
Good Ol' Platypus
I think it's just Printer.Print Picture1.Picture
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Aug 8th, 2000, 08:17 AM
#3
The graphics could have been on the Image instead of the Picture. If this is the case, then simply transfer it.
Code:
Picture1.Picture = Picture1.Image
Printer.PaintPicture Picture1.Picture, 1, 1
-
Aug 8th, 2000, 11:05 AM
#4
Thread Starter
Junior Member
Thanks, it worked
Thanks mr. Megatron! The code you gave worked, but I made a small modification and optimization for it:
Code:
Printer.PaintPicture Picture1.Image, 0, 0
Cheers,
- Ville
......................
Ville Mattila
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|