CompressEmbeddedFonts()

Compress::CompressEmbeddedFonts(System::SharedPtr<Presentation>) method

Makes compression of the Presentation by removing unused characters from embedded fonts.

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

Arguments

ParameterTypeDescription
presSystem::SharedPtr<Presentation>The presentation instance

Remarks

auto pres = System::MakeObject<Presentation>(u"pres.pptx");
LowCode::Compress::CompressEmbeddedFonts(pres);

pres->Save(u"pres-out.pptx", SaveFormat::Pptx);

See Also