Spire.Presentation 3.6.1 今天正式发布了, 该版本添加了属性“DataLabelShapeType”支持设置PowePoint中图标数据标签的形状,添加了属性“MarkFill”支持设置图标中的单个Marker的填充和边框颜色,并修复了一些加载和转换PowerPoint出现的问题。
新功能:
- 新添加属性“DataLabelShapeType”支持设置PPT中图表数据标签的形状。
public DataLabelShapeType DataLabelShapeType { get; set; }
ChartDataPoint dp = new ChartDataPoint(chart.Series[0]);
//设置填充颜色
dp.MarkerFill.Fill.FillType = FillFormatType.Solid;
dp.MarkerFill.Fill.SolidColor.Color = Color.Red;
//设置边框颜色
dp.MarkerFill.Line.FillType = FillFormatType.Solid;
dp.MarkerFill.Line.SolidFillColor.Color = Color.Black;
问题修复:
- 修复了背景图片一样的PowerPoint文档转PDF耗时久,结果PDF文件大的问题。
- 修复了加载PowerPoint文档抛出"Index was out of range"异常的问题。
- 修复了横向打印不起作用的问题。
- 修复了PPT/PPTX转PDF结果不正确的问题。
- 修复了PPT/PPTX转PDF图表格式不正确的问题。
获取最新版的Spire.Presentation 3.6.1,请点击:
http://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html