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

Free Support Forum - aspose.com

Aspose.Slides Shape Type Definitions for PowerPoint Objects

Hello - How can I get the definition for a slide_type attribute? Screenshot attached.

image.png (8.9 KB)


Is there a shape_type that can determine if a shape is an image or text?

Thank you for posting the question.

To check the type of an object placed on a PowerPoint presentation slide, you can use the isinstance function like this:

if isinstance(shape, PictureFrame):
    # this is an image

Please let us know if this way does not work for you and describe the issue you are experiencing.

1 Like