1、Image1.Stretch =True 2、savepicture Private Sub Command1_Click() SavePicture Image1.Picture, "c:\1.jpg" End SubPrivate Sub Form_Load() Image1.Stretch = True End Sub
Private Sub cmdSave_Click() CDlg.Filter = "Bitmap(*.bmp)|*.bmp|All files(*.*)|*.*" CDlg.ShowSave If CDlg.FileName <> "" Then SavePicture picResult.Image, CDlg.FileName End If End Sub
2、savepicture
Private Sub Command1_Click()
SavePicture Image1.Picture, "c:\1.jpg"
End SubPrivate Sub Form_Load()
Image1.Stretch = True
End Sub
CDlg.Filter = "Bitmap(*.bmp)|*.bmp|All files(*.*)|*.*"
CDlg.ShowSave
If CDlg.FileName <> "" Then
SavePicture picResult.Image, CDlg.FileName
End If
End Sub
Private Sub Command1_Click()SavePicture Image1.Picture, "d:\tempppp.bmp"
End Sub