borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2011 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (How to capture print page count in VB?) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Print the Contents of a Picture Box
Poster Message
rpowell460
Level: Trainee

Registered: 11-08-2008
Posts: 1

Ads by Lake Quincy Media
icon Print the Contents of a Picture Box

I am using VB.net. I have created an application to aquire the picture from a camera. Now I would like to print the aquired picture from the contents of the picture box when I select the print button?

Anyone have any sample code I can view to print the picture box contents?

11-08-2008 at 08:05 PM
View Profile Send Email to User Show All Posts | Quote Reply
BadaBandar
Level: Protégé


Registered: 08-02-2009
Posts: 6
icon Re: Print the Contents of a Picture Box

use the Paintpicture Method on Printer Object with your Picturebox details as source arguments to print it to your default printer.

you can also set your default printer with a common dialogbox. Be sure to set TrackDefault property to True.

09-02-2009 at 05:04 AM
View Profile Send Email to User Show All Posts | Quote Reply
devinehelles
Level: Trainee

Registered: 01-02-2011
Posts: 3
icon Re: Print the Contents of a Picture Box

I hope my request is not too late. In fact, I am using the similar method to draw from Picturebox. Nobugz Thx, I managed to print the contents Picturebox. nobugzs, I was wondering, do you have the method you mention here print Picturebox that allow me to specify the source print.

____________________________
postcard printing

01-02-2011 at 01:00 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : Print the Contents of a Picture Box
Next Topic (How to capture print page count in VB?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2011 Andrea Tincaniborder