Compress
Compress class
Represents a group of methods intended to compress Presentation
.
public static class Compress
Methods
Name | Description |
---|---|
static CompressEmbeddedFonts(Presentation) | Makes compression of the Presentation by removing unused characters from embedded fonts. |
static RemoveUnusedLayoutSlides(Presentation) | Makes compression of the Presentation by removing unused layout slides. |
static RemoveUnusedMasterSlides(Presentation) | Makes compression of the Presentation by removing unused master slides. |
Examples
using (Presentation pres = new Presentation("pres.pptx"))
{
Aspose.Slides.LowCode.Compress.RemoveUnusedImages(pres);
pres.Save("pres-out.pptx", SaveFormat.Pptx);
}
See Also
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides