I’m wondering if you can help me. I have a test PowerPoint Presentation with a simple comment. I have the presentation both as PPT and PPTX.
I have recently upgraded to the latest Slides library and went through the process of converting the code to the new API for handing PPTX without PresentationEx. I noticed on this document though an issue. The code in its most basic form is:
Aspose.Slides.LoadOptions loadOptions = new Aspose.Slides.LoadOptions();
if (fileType == FileType.Ppt)
loadOptions.LoadFormat = Aspose.Slides.LoadFormat.Ppt;
loadOptions.LoadFormat = Aspose.Slides.LoadFormat.Pptx;
slidePresentation = new Aspose.Slides.Presentation(fileInfo.FullName, loadOptions);
Aspose.Slides.ICommentAuthorCollection commentAuthorCollection = slidePresentation.CommentAuthors;
if (commentAuthorCollection != null)
foreach (Aspose.Slides.ICommentAuthor commentAuthor in commentAuthorCollection)
ICommentCollection commentCollection = commentAuthor.Comments;
//Do Stuff Here
The code works fine on the PPTX document, but on PPT, it does not recognise the comments (in fact commentAuthorCollection.Count is 0). Saving the document removes the comments.
Please advise how to read and preserve the comments in the new API for PPT presentations