Aspose::Slides::LowCode::Compress Class Reference

Represents a group of methods intended to compress Presentation. More...

#include <Compress.h>

Public Member Functions

 Compress ()=delete
 

Static Public Member Functions

static void RemoveUnusedMasterSlides (System::SharedPtr< Presentation > pres)
 Makes compression of the Presentation by removing unused master slides.
More...
 
static void RemoveUnusedLayoutSlides (System::SharedPtr< Presentation > pres)
 Makes compression of the Presentation by removing unused layout slides.
More...
 

Detailed Description

Represents a group of methods intended to compress Presentation.

auto pres = System::MakeObject<Presentation>(u"pres.pptx");
pres->Save(u"pres-out.pptx", SaveFormat::Pptx);
static void RemoveUnusedMasterSlides(System::SharedPtr< Presentation > pres)
Makes compression of the Presentation by removing unused master slides.

Constructor & Destructor Documentation

◆ Compress()

Aspose::Slides::LowCode::Compress::Compress ( )
delete

Member Function Documentation

◆ RemoveUnusedLayoutSlides()

static void Aspose::Slides::LowCode::Compress::RemoveUnusedLayoutSlides ( System::SharedPtr< Presentation pres)
static

Makes compression of the Presentation by removing unused layout slides.

Parameters
presThe presentation instance
auto pres = System::MakeObject<Presentation>(u"pres.pptx");
pres->Save(u"pres-out.pptx", SaveFormat::Pptx);
static void RemoveUnusedLayoutSlides(System::SharedPtr< Presentation > pres)
Makes compression of the Presentation by removing unused layout slides.

◆ RemoveUnusedMasterSlides()

static void Aspose::Slides::LowCode::Compress::RemoveUnusedMasterSlides ( System::SharedPtr< Presentation pres)
static

Makes compression of the Presentation by removing unused master slides.

Parameters
presThe presentation instance
auto pres = System::MakeObject<Presentation>(u"pres.pptx");
pres->Save(u"pres-out.pptx", SaveFormat::Pptx);