Panel and contents to bitmap

DiverDan

Well-known member
Joined
Jan 16, 2003
Messages
645
Location
Sacramento, CA
User Rank
*Experts*
Im having a problem combining a panels background image and its interior labels to a bitmap format that can be printed or copied onto the clipboard. At this point all I get is the panels bitmap background image without the labels and both are needed.

Any ideas how I can accomplish this?

Thanks
 
Heres what I currently have:

Dim bmpDrawings As Bitmap = pnlDrawings.BackgroundImage
Dim p As PaintEventArgs
For Each ctrl In pnlDrawings.Controls
If TypeOf ctrl Is Label Then
Paint ctrl onto bmpDrawings

End If
Next

Any help would be appreciated.
Dan
 
Back
Top