RemoveUnusedMasterSlides
Compress.RemoveUnusedMasterSlides method
Makes compression of the Presentation
by removing unused master slides.
public static void RemoveUnusedMasterSlides(Presentation pres)
Parameter | Type | Description |
---|---|---|
pres | Presentation | The presentation instance |
Examples
using (Presentation pres = new Presentation("pres.pptx"))
{
Aspose.Slides.LowCode.Compress.RemoveUnusedMasterSlides(pres);
pres.Save("pres-out.pptx", SaveFormat.Pptx);
}
See Also
- class Presentation
- class Compress
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides