#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    22
    Rep Power
    0

    print the contents of a picturebox


    I am facing a problem with printing the contents of a picture box.

    I have a picture box which acts as a container for several controls. When I try to do the following :

    Printer.PaintPicture Picture2.Image, 0, 0
    Printer.EndDoc

    what gets printed is, just the picture box and not the controls that are within that box.

    How do i get this to print everything that is within that picturebox.

    Thanks,
    Amit
  2. #2
  3. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    What kind of controls do you have in this picture box?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    22
    Rep Power
    0
    I have some text-boxes and another picture box inside the parent picture-box (container).

IMN logo majestic logo threadwatch logo seochat tools logo