ImageSaveOptions imageOptions = new ImageSaveOptions(SaveFormat.Png);
imageOptions.PaperColor = Color.Transparent;
imageOptions.Resolution = 200; // 设置分辨率
var memoryStream = new MemoryStream();
shape.GetShapeRe…...Combine(Application.StartupPath, “math_sample”...string tempFilePath = Path.Combine(Application.StartupPath, "temp_image...