Spire.Presentation 6.7.2已正式发布。该版本支持设置图表坐标轴的刻度线间隔,并新增了LoadFromStream重载方法支持从流加载加密的文档,同时修复了转换PPT到PDF,OLE图标不正确的问题。新功能及问题修复详情如下。
新功能:
- 支持设置图表坐标轴的刻度线间隔
Presentation ppt = new Presentation();
ppt.LoadFromFile(intputFile);
IChart chart = ppt.Slides[0].Shapes[0] as IChart;
IChartAxis chartAxis = chart.PrimaryCategoryAxis;
chartAxis.TickMarkSpacing = 30;
ppt.SaveToFile(outputFile, FileFormat.Pptx2013);
FileStream from_stream = File.OpenRead(inputFile);
Presentation presentation = new Presentation();
presentation.LoadFromStream(from_stream,FileFormat.Auto, "12345");
presentation.SaveToFile(outputFile_px, FileFormat.Pptx2013);
问题修复:
- 修复了转换PPT到PDF,OLE图标不正确的问题
获取Spire.Presentation 6.7.2,请点击:
https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html