Hi.
I’m using version “21.8.0” of Aspose.Slides.
When I run the following source, I get the error “Consistency of value registry is broken” when saving.
I have no idea why the error occurs.
please investigate.
Best regard.
Attach the source and files.
basefile.zip (78.6 KB)
try
{
var basePpt = new Presentation(basePath);
var targetSlide = basePpt.Slides[1];
var movedSlide = basePpt.Slides.InsertClone(0, targetSlide);
targetSlide.Remove();
var targetSlide2 = basePpt.Slides[1];
var movedSlide2 = basePpt.Slides.InsertClone(1, targetSlide2);
targetSlide2.Remove();
basePpt.Save(outPath, Aspose.Slides.Export.SaveFormat.Pptx);
}
catch (PptUnsupportedFormatException ex)
{
var exPpt = new PptException("PPT/PPTXファイルではありません。", ex);
throw exPpt;
}
catch (Exception ex)
{
var exPpt = new PptException("エラーが発生しました。", ex);
throw exPpt;
}