C#实现将Chart图表生成JPG图片的方法

SaveFileDialog savefile= new SaveFileDialog();
            savefile.Filter = "JPEG文件|*.jpg";
            if (savefile.ShowDialog() == DialogResult.OK)
            {
             
                    chart1.SaveImage (savefile.FileName, System.Drawing.Imaging.ImageFormat.Jpeg);
            }

 

 

 

 

 

 

image

 

https://www.aliyun.com/benefit?userCode=h3d90dml

阿里云6-8折扣优惠,部分AI模型调用1折优惠

image

 

posted @ 2019-05-30 11:36  CHPowerljp  阅读(1598)  评论(0)    收藏  举报