今天,我们发布了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 =…