原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2020-08-10 10:01:58.413|閱讀 244 次
概述:很高興地告訴大家.NET版Spire.Presentation v5.8.1上線啦!該版本支持添加節(jié)、設(shè)置SmartArt節(jié)點輪廓線條樣式和節(jié)點間的連接線條樣式,并修復(fù)了將PPT轉(zhuǎn)為PDF時出現(xiàn)的問題,歡迎下載體驗。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
Spire.Presentation for .NET是專業(yè)的 PowerPoint® 組件,使用該組件,開發(fā)者可以在 .NET 平臺上對 PowerPoint® 文檔進行生成、讀取、寫入、修改、轉(zhuǎn)換和打印等操作。
Spire.Presentation for .NET支持 PPT、PPS、PPTX、PPSX 格式的 PowerPoint® 文檔,支持的主要功能有寫入文本、插入圖片、添加圖形、表格、動畫效果、音頻和視頻等元素到幻燈片。Spire.Presentation 也支持將幻燈片轉(zhuǎn)換為 EMF、JPG、TIFF、PDF、XPS、SVG、HTML 格式文件。
很高興地告訴大家.NET版Spire.Presentation v5.8.1上線啦!該版本支持添加節(jié)、設(shè)置SmartArt節(jié)點輪廓線條樣式和節(jié)點間的連接線條樣式,并修復(fù)了將PPT轉(zhuǎn)為PDF時出現(xiàn)的問題,具體更新情況如下:
下載Spire.Presentation for .NET最新版
新功能
Presentation presentation = new Presentation(); presentation.LoadFromFile(pptfile); ISlide slide = presentation.Slides[0]; //添加節(jié) presentation.SectionList.Add("section1", slide); //獲取節(jié) Section section; String name; for (int i = 0; i < presentation.SectionList.Count; i++) { section = presentation.SectionList[i]; name = section.Name; foreach (long id in section.SlideIdList) { } }
ISmartArt smartArt = presentation.Slides[0].Shapes[0] as ISmartArt; int count =smartArt.Nodes.Count; ISmartArtNode node; for (int i = 0; i < count; i++) { node = smartArt.Nodes[i]; node.Line.FillType = FillFormatType.Solid; node.Line.SolidFillColor.Color = Color.Gray; node.Line.Width = 2; }
ISmartArt smartArt = presentation.Slides[0].Shapes[0] as ISmartArt; int count =smartArt.Nodes.Count; ISmartArtNode node; for (int i = 0; i < count; i++) { node = smartArt.Nodes[i]; node.LinkLine.FillType = FillFormatType.Solid; node.LinkLine.SolidFillColor.Color = Color.Gray; node.LinkLine.Width = 2; node.LinkLine.DashStyle = LineDashStyleType.SystemDash; }
Bug修復(fù)
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn