owc导出图表的问题
owc导出图表时有一个函数exportpicture,这个函数在IE7中是不支持的,会出现 8003007b 错误,我不想用owc帮助上说的Response.BinaryWrite Chart.GetPicture(PictType, 500, 400)方法,只想用纯的脚本,google了一下,国内基本没有什么解决办法,国外的帖子上有个人是这么说的:
You can try to get the picture with the getPicture method like this:
Dim ChartImageArray() As Byte = CType(AxChartSpace1.GetPicture(),Byte())Dim ChartImageMemoryStream As New IO.MemoryStream(ChartImageArray)Dim img As Image = Image.FromStream(ChartImageMemoryStream)
var imgObj =Chart.GetPicture(PictType, 500, 400);