scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.28k stars 502 forks source link

find whether AUTO_SHAPE has a shadow effect #841

Open NarenZen opened 1 year ago

NarenZen commented 1 year ago

@scanny how to find whether a shape has a shadow effect or not.

This is how I'm iterating shapes:

from pptx import Presentation
pptx = Presentation("Presentation1.pptx")

for shape in pptx.slides[0].shapes:
    print(shape.shape_type)

Need to detect particular shape has a shadow effect or not.