Saving a picture with labels
Posted on 2003-03-25
I need to be able to save a picture with labels which are predrawn with captions on the form. When I use the SavePicture command everything else within picture1 is saved but not the labels. How can I get them to be saved in the current position?
Code for saving is as follows
Private Sub Command4_Click()
Dim filename As String
CommonDialog1.DialogTitle = "Save Picture"
CommonDialog1.Filter = "BMP (*.BMP)|*.bmp"
CommonDialog1.FilterIndex = 2
filename = CommonDialog1.filename
SavePicture Picture1.Image, filename
Many thanks in advance