How to Find Out What Items in a Slide Are Displayed/Visible to Viewer If the Slide Is Designed Using Normal Slide, Layout Slide, and Master Slide?

For example, a slide has 4 text frame which inherits the format of corresponding shapes in layout slide(text is different). What’s more the layout slide has some displayed decorative items. The master slide also has some decorative items but is covered by a picture in layout slide, making them unseenable. My problem is how can I extract all the items displayed/visible to viewer in this slide(including items in normal slide, layout slide and master slide) with Aspose.slide .net via python. All the items has hidden porperty value ‘False’.

@kkk123222,
Thank you for posting the question.

As you already know, presentation slides are designed in such a way that the shapes of the layout slide overlap the shapes of the master slide, and the shapes of the presentation slide overlap the shapes of the layout slide and the master slide. In addition, shapes can overlap each other even within the presentation slide, layout slide, or master slide.

Please note that the Shape class has the z_order_position to define the order of shape within a slide. You will also most likely have to compare the coordinates and sizes of the shapes to determine which are overlapped.

Thanks. One more question. The background of a slide is desided by which kind of slide among normal slide, layout slide, or master slide?

@kkk123222,
The slide background is formed from the background of the master slide, the layout slide, and the presentation slide. With Aspose.Slides for Python, you can access and change them all.
More details: Presentation Background|Aspose.Slides for Python Documentation