How to tell is a Shape is a Picture?

I have a PPTX with multiple Shapes. As I loop through them, the Pictures are also collected into the ShapeExCollection for the slide.Shapes.


Is there a way to test and see if the Shape is a Picture? (I assume it is a PictureEx).

Thanks for the help.

Sorry…figured it out myself.


if (shape is PictureFrameEx)
{
…do stuff
}

Thanks anyway.

Hi Scott,


That is good to know that things are working on your end. Please share if I may help you further in this regard.

Many Thanks,