Compress
Compress class
Represents a group of methods intended to compress Presentation.
class Compress
Methods
Method | Description |
---|---|
Compress() | |
static void CompressEmbeddedFonts(System::SharedPtr<Presentation>) | Makes compression of the Presentation by removing unused characters from embedded fonts. |
static void RemoveUnusedLayoutSlides(System::SharedPtr<Presentation>) | Makes compression of the Presentation by removing unused layout slides. |
static void RemoveUnusedMasterSlides(System::SharedPtr<Presentation>) | Makes compression of the Presentation by removing unused master slides. |
Remarks
auto pres = System::MakeObject<Presentation>(u"pres.pptx");
LowCode::Compress::RemoveUnusedMasterSlides(pres);
pres->Save(u"pres-out.pptx", SaveFormat::Pptx);
See Also
- Namespace Aspose::Slides::LowCode
- Library Aspose.Slides