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);
}

https://www.aliyun.com/benefit?userCode=h3d90dml
阿里云6-8折扣优惠,部分AI模型调用1折优惠



浙公网安备 33010602011771号