10 2013 档案

摘要:/// /// 导出Excel/// public void ExportExcel(){ #region 添加引用 Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();//需要添加 Microsoft.Office.Interop.Excel引用 if (app == null) return;//app == null ,则代表服务器上“服务器上缺少Excel组件,需要安装Office软件” #endregion #r... 阅读全文
posted @ 2013-10-31 17:19 Mr.Leo 阅读(2099) 评论(0) 推荐(0)
摘要:#region 从视频画面中截取一帧画面为图片 /// /// 从视频画面中截取一帧画面为图片 /// /// 视频文件,绝对路径 /// 图片的尺寸如:240*180 /// 开始截取的时间如:"1" /// public string GetPicFromVideo(string VideoName, string WidthAndHeight, string CutTimeFrame) { string ffmpeg = Server.... 阅读全文
posted @ 2013-10-18 11:14 Mr.Leo 阅读(4741) 评论(0) 推荐(0)