05 2023 档案
摘要:以Word为例 private void AddRightMenu() { Microsoft.Office.Core.CommandBar mzBar = appWord.CommandBars["Text"]; //word文档已有的右键菜单Text Microsoft.Office.Core.
阅读全文
摘要:网络上有很多格式转换的软件,但是大多要收费,这里介绍一种免费方式,使用开源的ffmpeg.exe进行格式转换。 可以在这个地址下载Download FFmpeg。 使用命令行即可将flv转成MP4 ffmpeg -i "1.flv" -c copy "1.mp4" 分享一个批处理命令,将ffmpeg
阅读全文
摘要:以ppt为例,其中Path返回路径,FullName返回文件名 //ppt var FullPath= Path.Combine(Globals.ThisAddIn.Application.ActivePresentation.Path, Globals.ThisAddIn.Application.
阅读全文

浙公网安备 33010602011771号