UltraChart导出图片
//一定要先绑定UltraChart,如果先绑定,然后有点击图片导出,没有用的string fulPath="xxxx";this.UltraChartTScore.SaveTo(fulPath, System.Drawing.Imaging.ImageFormat.Jpeg);//这个是保存为图片的方法System.IO.FileInfo file = new System.IO.FileInfo(strFileFullPath);Response.Clear();Response.AddHeader("Content-Disposition", "attachment; filename=" + strFileName);Response.ContentType = "application/x-msdownload";Response.WriteFile(strFileFullPath);Response.Flush();file.Delete();Response.End(); |
浙公网安备 33010602011771号