printing panel container which have picturebox
-
I have a scrollable panel box which have many picturebox with different location with different image . now i want to save or print that panel container. any one help me.
-
I have a scrollable panel box which have many picturebox with different location with different image . now i want to save or print that panel container. any one help me.
What do you want to "save"? The locations of the pictureboxes? The images in them?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
What do you want to "save"? The locations of the pictureboxes? The images in them?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007i want to save panel. means panel with all picturebox in a single picture. when that panel is saved as picture i can easily print that picture with printdocument1.document.
-
i want to save panel. means panel with all picturebox in a single picture. when that panel is saved as picture i can easily print that picture with printdocument1.document.
In that case, you'll have to create a new Bitmap, the size of the Panel. Then, iterate through the pictureboxes on the Panel and get their images and draw them onto this Bitmap object. Then you can call the Save method on the Bitmap to save the image.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007