原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2020-08-10 10:01:58.413|閱讀 251 次
概述:很高興地告訴大家.NET版Spire.Presentation v5.8.1上線啦!該版本支持添加節(jié)、設(shè)置SmartArt節(jié)點(diǎn)輪廓線條樣式和節(jié)點(diǎn)間的連接線條樣式,并修復(fù)了將PPT轉(zhuǎn)為PDF時(shí)出現(xiàn)的問(wèn)題,歡迎下載體驗(yàn)。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門(mén)軟控件火熱銷(xiāo)售中 >>
Spire.Presentation for .NET是專(zhuān)業(yè)的 PowerPoint® 組件,使用該組件,開(kāi)發(fā)者可以在 .NET 平臺(tái)上對(duì) PowerPoint® 文檔進(jìn)行生成、讀取、寫(xiě)入、修改、轉(zhuǎn)換和打印等操作。
Spire.Presentation for .NET支持 PPT、PPS、PPTX、PPSX 格式的 PowerPoint® 文檔,支持的主要功能有寫(xiě)入文本、插入圖片、添加圖形、表格、動(dòng)畫(huà)效果、音頻和視頻等元素到幻燈片。Spire.Presentation 也支持將幻燈片轉(zhuǎn)換為 EMF、JPG、TIFF、PDF、XPS、SVG、HTML 格式文件。
很高興地告訴大家.NET版Spire.Presentation v5.8.1上線啦!該版本支持添加節(jié)、設(shè)置SmartArt節(jié)點(diǎn)輪廓線條樣式和節(jié)點(diǎn)間的連接線條樣式,并修復(fù)了將PPT轉(zhuǎn)為PDF時(shí)出現(xiàn)的問(wè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)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@ke049m.cn