CompressEmbeddedFonts

Compress.CompressEmbeddedFonts method

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

public static void CompressEmbeddedFonts(Presentation pres)
ParameterTypeDescription
presPresentationThe presentation instance

Examples

using (Presentation pres = new Presentation("pres.pptx"))
{
    Aspose.Slides.LowCode.Compress.CompressEmbeddedFonts(pres);
    
    pres.Save("pres-out.pptx", SaveFormat.Pptx);
}

See Also