Determining total slides using PresentationEx Aspose.Slides Java

What method is there to determine the total number of slides in a pptx file using PresentationEx, your site’s example gave getCount() but getCount doesn’t exist, using Presentation, total slides can be determined by the getLastPosition method, is there an equivalent in PresentationEx?

Many thanks

Hi Jide,

I have observed the requirements shared by you and like to share that the method for getting the total number of slides in case of PPTX using PresentationEx class can be determined by using following sample code.

int total=pres.getSlides().getCount();

Please try using the latest version of Aspose.Slides and if there is still an issue then please share with us further.

Many Thanks,

Ok, many thanks Mudassir. I have an early 2013 version, I’ll download the latest version and give it a go.

Thanks,

Jide.