We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Comments are not printed to PDF

Hi,

I need to print PowerPoint presentation to PDF format. During printing I’ve noticed different between PowerPoint printing and Aspose conversion - Comments are not displayed. I will attach sample documents if figure out how to do this in new forum.

Thanks,
Alex

Hi Alex,

I have observed your requirements and request you to please provide source presentation, generated PowerPoint and Aspose.Slides output along with used sample code. I will investigate the issue further on my end to help you out.

Many Thanks,

Mudassir Fayyaz

Hi Mudassir,

Finally I’ve figured out how to add file here. Please see attached
NotesAndComments_sampleFiles.zip (1.4 MB)

I do not use any specific code, just opening and saving to pdf:
Presentation presEx = new Presentation(inputFile);
presEx.Save(resultFilePath, Aspose.Slides.Export.SaveFormat.Pdf);

Thanks,
Alex

Hi Alex,

I have observed the issue shared by you and it seems to be a missing support in Aspose.Slides for .NET. An issue with ID SLIDESNET-39044 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

We are sorry for your inconvenience,

Mudassir Fayyaz

The issues you have found earlier (filed as SLIDESNET-39044) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz

Hi Mudassir,

I’ve tried Aspose.Slides 17.8 and 17.9.1 but still do not see comments to be printed. Would you be so kind to check if SLIDESNET-39044 is really fixed?

Many thanks,
Alex

@licenses,

I like to mention that in order to export a PDF with comments you must use the PdfOptions.IncludeComments property, which is set to false by default. The property is available since Aspose.Slides .NET v17.6. Please use the following code snippet to get the desired result:

using (Presentation pres = new Presentation("Presentation.pptx"))
{
        //Instantiate the PdfOptions class
        PdfOptions pdfOptions = new PdfOptions();
 
        //Specify that the generated document should include comment pages
        pdfOptions.IncludeComments = true;
 
        //Save the presentation to PDF with specified options
        pres.Save("Presentation.pdf", SaveFormat.Pdf, pdfOptions);
}

Thanks for explanations. Now it works.