[RESOLVED] can the printer object print forms data thats not visible
I have a main form that has a lot of data. I want to print re-arange the data before printing by using a second form.
The print button is on the main form and when pressed it will copy the data to a second form. The print code will be in the second form. Does the second form need to be visible ?
Re: can the printer object print forms data thats not visible
If you saw my first answer it was wrong. The 2nd form doesn't have to be visible.
Re: can the printer object print forms data thats not visible
No, it doesn't have to be visible. The Printer object works using commands like Printer.Print, Printer.Line, Printer.Circle, Printer.PaitPicture, etc.. It doesn't perform a screen capture like Printform. The only thing you should consider is: if you use Printer.PaintPicture and the picture is an image in a PictureBox that's hidden, then that PictureBox should have its Autoredraw property set to True.
Re: can the printer object print forms data thats not visible
thanks guys now i can proceed with my plan
Re: [RESOLVED] can the printer object print forms data thats not visible
Even PrintForm works without the form being visible. I too would have throught not but I tried it and it works.