Hi
Broken pptx but option to repair
Can you set up the automatic repair if that is possible ?!
Thank you
file:
code:
using (var stream = new FileStream(ppt, FileMode.Open))
{
var presentation = new Aspose.Slides.Presentation(stream, loadOptions);
try
{
WriteLog("Saving PowerPoint: " + outPpt, LogType.info);
presentation.Save(outPpt, Aspose.Slides.Export.SaveFormat.Pptx);
WriteLog("PowerPoint saved !", LogType.success);
}
catch (Exception ex)
{
WriteLog("NormalizingPPT error saving pptx: " + ex.Message, LogType.error);
}
}