Results 1 to 6 of 6

Thread: Printing multiple Pictureboxes

Threaded View

  1. #1

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186

    Printing multiple Pictureboxes

    Can you print more than one picturebox on the same piece of paper? I'm looking to do something like this:

    VB Code:
    1. Private Sub cmdPrintPicture_Click()
    2.  
    3. Printer.PaintPicture Picture1.Image, 0, 0
    4. For i = 5 To 45
    5.     If Check1(i).Value = 1 Then
    6.         Picture2.Print Check1(i).Caption
    7.     End If
    8. Next
    9. Printer.PaintPicture Picture2.Image, 10, 0
    10. Printer.EndDoc
    11.  
    12. End Sub
    Where the first PictureBox prints a graph and the second PictureBox prints the corresponding checkboxes. I know the above code won't work but it should at least give an idea of what I want to do. Thanks
    Last edited by run_GMoney; Jan 13th, 2003 at 02:19 PM.
    Place Your VBForums Ad Here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width