原創|產品更新|編輯:李顯亮|2021-08-23 09:56:41.593|閱讀 272 次
概述:Spire.Presentation 6.8.3已發布。該版本支持加載保存DPS/DPT格式的文檔,支持設置PPT中圖表的邊框樣式為直角,同時還支持在PPT中,使用正則表達式替換文本,歡迎下載體驗。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Spire.Presentation for .NET是專業的 PowerPoint組件,開發者可以在 .NET 平臺上對 PPT文檔進行生成、修改、轉換和打印等操作,而無需安裝 Microsoft PowerPoint。
近日,.NET平臺Spire.Presentation迎來了2021年8月的修復版發布,該版本支持加載保存DPS/DPT格式的文檔,支持設置PPT中圖表的邊框樣式為直角,同時還支持在PPT中,使用正則表達式替換文本。點擊下方按鈕免費下載。
下載Spire.Presentation for .NET最新版
新功能
ppt.SaveToFile(outputPath + filename + ".dps", FileFormat.Dps); ppt.SaveToFile(outputPath + filename + ".dpt", FileFormat.Dpt);
IChart chart = ppt.Slides[0].Shapes[0] as IChart; ITrendlines trendline = chart.Series[0].TrendLines[0] as ITrendlines; foreach(TextParagraph para in trendline.TrendLineLabel.TextFrameProperties.Paragraphs) { para.DefaultCharacterProperties.FontHeight = 20; foreach(TextRange range in para.TextRanges) { range.FontHeight = 20; } } trendline.TrendLineLabel.OffsetX = -0.1f; trendline.TrendLineLabel.OffsetY = 0.1f;
IChart chart = ppt.Slides[0].Shapes[0] as IChart; chart.Line.FillFormat.FillType = FillFormatType.Solid; chart.Line.FillFormat.SolidFillColor.Color = Color.Red; chart.BorderRoundedCorners = false;
Regex regex = new Regex("^[A-Za-z]+$"); string newvalue = "new string"; foreach(IShape shape in ppt.Slides[0].Shapes) { shape.ReplaceTextWithRegex(regex, newvalue); }
問題修復
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn