Compress
Compress class
表示一组用于压缩Presentation
的方法。
public static class Compress
方法
姓名 | 描述 |
---|---|
static RemoveUnusedLayoutSlides(Presentation) | 通过删除未使用的布局幻灯片来压缩Presentation 。 |
static RemoveUnusedMasterSlides(Presentation) | 通过删除未使用的母版幻灯片来压缩Presentation 。 |
例子
using (Presentation pres = new Presentation("pres.pptx"))
{
Aspose.Slides.LowCode.Compress.RemoveUnusedImages(pres);
pres.Save("pres-out.pptx", SaveFormat.Pptx);
}