This article is a mirror article of machine translation, please click here to jump to the original article.

View: 30265|Reply: 0

[Source] [Turn]. NET exports PPT as a picture

[Copy link]
Posted on 8/22/2020 10:23:36 AM | | | |
Use .NET to export PPT as an image for online preview of web pages.

Export using Aspose components

Aspose has a Aspose.Slides.dll that allows you to read and write PPT files without installing office.

Aspose may be installed through Aspose.Slides.NET



A simple export image demo is as follows:



Note: The above method is a DLL that has not been purchased, and the generated image will have a watermark. If you use the genuine version, there should be no problem.



Export using Interop.PowerPoint

Also search and install in Nuget:

In addition, the PPT can be decrypted through Presentations.Open("c:\test.pptxPASSWORD") to export the image.


Reprint link:

The hyperlink login is visible.




Previous:EF DbContext guarantees that the context is unique
Next:.NET Core 3.1 Installation Chinese Smart Prompt
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com