Free Support Forum - aspose.com

Master Slide

For the earlier PPT slides, we were able to detect if the slide is a master slide (slide.isMasterSlide).
But for the new PPT slides (2007, slideEx), how do we detect if the selected slide is a master slide?
Do we have the API for this?

Thanks,
michelle

Hi Michelle,

Yes you are right in making your point that there is no property to find whether a given slide is a master slide or not in case of PPTX as it is present for PPT presentation. Attached please find the workaround method where by you can find whether a given slide is a master slide or not in case of PPTX. I have extracted all the master slide IDs in an array and have compared the given slide Id with those present in array.if match is found then the slide under investigation is a master slides or otherwise it's not. You may also avoid using array to hold master slides IDs by directly accessing the master slides IDs.

Thanks and Regards,