Spire.Presentation 7.7.5 已发布。此版本支持创建 PowerPoint 2016 中新增的图表类型。即Waterfall,Treemap、Boxandwhisker,Histogram,Pareto,SunBurst。 该版本还提供了支持裁剪幻灯片图片的 SlidePicture.Crop() 方法,并提供了 InsertPicture(stream) 方法将图片从文件流插入到幻灯片中。详情请阅读以下内容。 新功能: 支持裁切幻灯片图片。 SlidePicture slidePicture = (SlidePicture)presentation.Slides[0].Shapes[0]; slidePicture.Crop(float x, float y, float width, float height); 提供InsertPicture(stream)方法支持从文件流插入图片到幻灯片中。 presentation.Slides[0].Shapes[0].InsertPicture(Stream stream) 支持创建PowerPoint2016新增的图表类型(Waterfall,Treemap、Boxandwhisker,Histogram,Pareto,SunBurst)。 public void CreateWaterFall(Presentation ppt) { IChart chart…