这只是一个小程序,就是将ppt转换成html,方法很多,为了以后备用,在此记录一下,也和大家分享 源码如下: using System; using System.Collections.Generic; using System.Text; using System.IO; using PPT = Microsoft.Office.Interop.PowerPoint; using
这只是一个小程序,就是将ppt转换成html,方法很多,为了以后备用,在此记录一下,也和大家分享 using System; namespace WritePptDemo PPT.Application pptApp; //Excel应用程序变量 PPT.Presentation pptDoctmp;
path = @"C:\MyPPT.ppt"; //路径 //如果已存在,则删除 //由于使用的是COM库,因此有许多变量需要用Nothing代替 string text = "示例文本"; foreach (PPT.Slide slide in pptDoc.Slides) |
首页 上一页 1 2 3 4 5 6 7 下一页 尾页 1/12/12 | |
【大 中 小】【打印】 【繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部】 | |
上一篇:私有构造函数的特点和用途 | 下一篇:窗体与子线程的交互 |