使用的类库:Microsoft.Office.Interop.PowerPoint
若部署到IIS提示内存不足,请检查服务器以下两个路径是否存在"Desktop"目录,若不存在,新建对应目录后问题即可解决。
路径一:
C:\Windows\SysWOW64\config\systemprofile
路径二:
C:\Windows\System32\config\systemprofile

C#代码片段:

原创内容,转载请注明出处:智慧工具库
使用的类库:Microsoft.Office.Interop.PowerPoint
若部署到IIS提示内存不足,请检查服务器以下两个路径是否存在"Desktop"目录,若不存在,新建对应目录后问题即可解决。
路径一:
C:\Windows\SysWOW64\config\systemprofile
路径二:
C:\Windows\System32\config\systemprofile
C#代码片段:
原创内容,转载请注明出处:智慧工具库