小弟有个问题!
下面是我截取datagridview里面图片的代码:有个问题就是,怎么截取后使图片缩小呢,?因为我截取后要导入word里面去,不然一页只能显示几张图大家帮帮忙,谢谢了!!Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Dim b As Bitmap = New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height, Imaging.PixelFormat.Format32bppArgb)
        Dim gfx As Graphics = Graphics.FromImage(b)
        gfx.CopyFromScreen(Me.SplitContainer1.Panel2.Location.X, Me.SplitContainer1.Panel2.Location.Y, 250, 50, Me.DataGridView2.Bounds.Size, CopyPixelOperation.SourceCopy)
        b.Save("c:\SCOR\picture1.jpg", Imaging.ImageFormat.Jpeg)
        MessageBox.Show("Picture is successfully saved ! ")
    End Sub