原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2021-08-23 09:56:41.593|閱讀 272 次
概述:Spire.Presentation 6.8.3已發(fā)布。該版本支持加載保存DPS/DPT格式的文檔,支持設(shè)置PPT中圖表的邊框樣式為直角,同時(shí)還支持在PPT中,使用正則表達(dá)式替換文本,歡迎下載體驗(yàn)。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Spire.Presentation for .NET是專業(yè)的 PowerPoint組件,開發(fā)者可以在 .NET 平臺上對 PPT文檔進(jìn)行生成、修改、轉(zhuǎn)換和打印等操作,而無需安裝 Microsoft PowerPoint。
近日,.NET平臺Spire.Presentation迎來了2021年8月的修復(fù)版發(fā)布,該版本支持加載保存DPS/DPT格式的文檔,支持設(shè)置PPT中圖表的邊框樣式為直角,同時(shí)還支持在PPT中,使用正則表達(dá)式替換文本。點(diǎn)擊下方按鈕免費(fèi)下載。
下載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); }
問題修復(fù)
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn