标签:
不多说贴代码
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Aspose.Slides; namespace Test { class Program { static void Main(string[] args) { string pptName = "开发经营PPTOut.pptx"; using (Presentation pres = new Presentation(pptName)) { for (int m = 0; m < pres.Slides.Count; m++) { using (Presentation pes = new Presentation()) { pes.SlideSize.Size = pres.SlideSize.Size; pes.Slides.RemoveAt(0); pes.Slides.AddClone(pres.Slides[m]); pes.Save(m+1 + ".pptx", Aspose.Slides.Export.SaveFormat.Pptx); } } } } } }
使用Aspose将一个ppt每一帧分离出来成为一个新的ppt
标签:
原文地址:http://blog.csdn.net/qzyf1992/article/details/43704519