Class libraries used: Microsoft.Office.Interop.PowerPoint
if deployed to IIS prompts insufficient memory, please check whether the "Desktop" directory exists in the following two paths of the server. If it does not exist, the problem can be solved after creating the corresponding directory.
Path 1:
C:\Windows\SysWOW64\config\systemprofile
Path 2:
C:\Windows\System32\config\systemprofile
C# code snippet:
Original content, reprint please indicate the source: smart tool library