以下是引用17777188在2013-8-24 12:40:00的发言:
你那个图片有问题,dpi是1,其他图片是96,一定要正常显示的话,这样改代码:
If e.Col.Name = "第二列" Then
If e.Row.IsNull("第一列") = False Then
If FileSys.FileExists(ProjectPath & e.Row("_Identify") & ".jpg") = False Then
Network.DownloadFile(e.Row("第一列"), ProjectPath & e.Row("_Identify") & ".jpg", "", "", False, 6000, True)
End If
e.StartDraw
Dim img As Image = GetImage(ProjectPath & e.Row("_Identify") & ".jpg")
e.Graphics.DrawImage(img, e.x, e.y,e.Width,e.Height)
e.EndDraw
End If
End If
[此贴子已经被作者于2013-8-24 15:48:58编辑过]