borderAndreaVB free resources for Visual Basic developersborder

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

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

Print This Topic
Previous Topic (new article on printing...)Next Topic (Mapping frontpage to Printer) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Question about printing Forms and Picture Boxes
Poster Message
jrdevitto
Level: Guest


icon Question about printing Forms and Picture Boxes

I have seen examples of how to print Forms or Picture Boxes, but what about printing all contents of a Form including a Picture Box and its contents that are also part of the Form.

For example in my VB project, I have a Form that contains a Picture Box.  As a result of certain values the user supplies the form and after clicking the appropriate button, a shape appears in the Picture Box (keep in mind the Picture Box is an object on the Form).  

This is all fine and dandy until you try to print the Form along with the shape that has been rendered in the Picture Box.  Currently, the Form and all the other controls (i.e. buttons, text boxes, labels, etc) will show up on the print output, but the shape that was rendered in the Picture Box will not print.  All that prints is the outline of the Picture Box (i.e. you get a blank Picture Box on the print output).

Does anyone know how to code a print Form routine so that if the Form contains a Picture Box that was rendered as a result of user action, the entire Form (including the renedered Picture Box) will print?

Thanks for any help you can provide!
JRD      

03-09-2002 at 09:33 PM
| Quote Reply
AndreaVB Forum : Printing : Question about printing Forms and Picture Boxes
Previous Topic (new article on printing...)Next Topic (Mapping frontpage to Printer) 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-2009 Andrea Tincaniborder