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

Free Support Forum - aspose.com

PPTX Slide Notes

I saw the postings regarding the slide notes in PPTX, but for some reason, your search engine doesn’t work. So, I’m posting this question again, also to see if there are any other APIs added since then.

In the previous version of Aspose.slides, there is specific API to get the slide notes, but in the new version of Aspose.slides, I don’t see this API anymore. Can you please give me a sample code to retrieve the slide notes?


Dear MIchelle,

I am sorry for the delayed response. I have prepared a code snippet for you that will help you to refreive text from PPTX slides. Please us the code snippet below to serve the purpose.

PresentationEx pre=new PresentationEx(path+"modified.pptx");

SlideEx Sl=pre.getSlides ().get(0);
NotesSlideEx notes=Sl.getNotesSlide ();

for(int iCount=0;iCount<notes.getShapes().size();iCount++)
//Casting to autoshape
AutoShapeEx shp1 = (AutoShapeEx)notes.getShapes().get (iCount);

//Accessing autoshape's text frame
TextFrameEx tFrame = shp1.getTextFrame ();
//Extracting Slide notes
System.out .println (tFrame.getText ());

Thanks and Regards,