今天,我们发布了Spire.Presentation 4.11。该版本带来了一些新的功能,例如:支持高亮指定文本,支持设置图表标题的旋转角度,支持设置坐标轴的类型,并且修复一系列的漏洞。具体更新如下。
新功能:
- 新增替换文本的方法。
ReplaceFirstText(string matchedString, string newValue, bool caseSensitive);
ReplaceAllText(string matchedString, string newValue, bool caseSensitive);
chart.ChartTitle.TextProperties.RotationAngle=-30;
IAutoShape shape=ppt.Slides[0].Shapes[0] as IAutoShape
TextHighLightingOptions options=new TextHighLightingOptions();
options.CaseSensitive =true;
options.WholeWordsOnly=true;
shape.TextFrame.HightLightText("text",Color.Red,options);
chart.PrimaryCategoryAxis.AxisType = Spire.Presentation.Charts.AxisType.DateAxis;
chart.PrimaryCategoryAxis.MajorUnitScale = ChartBaseUnitType.Months;
effect.Timing.AnimationRepeatType = AnimationRepeatType.UtilEndOfSlide;
问题修复:
- 修复了加载一个加密pptx文档失败的问题。
- 修复了转换包含视频的PPT到Html失败的问题。
- 修复了使用方法AddNodeByPosition在指定的SmartArt节点位置插入新节点失败的问题。
- 修复了同一个PPT文件中复制图表失败的问题。
- 修复了设置PPT中附加信息显示或隐藏失败的问题。
- 修复了IsVaryColor属性无效的问题。
- 修复了增大幻灯片的的大小后,幻灯片包含的表格的大小也变大的问题。
获取Spire.Presentation 4.11,请点击:
https://www.e-iceblue.cn/Downloads/Spire-Presentation-NET.html