Home/ Reference/ Shape Appearance

shape.Shadow

Shadow properties.

Signature

shape.Shadow

Notes

Shadow properties.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)

try:
    sh = shape.Shadow                            # drop shadow properties
    sh.CreateShadow(3, 3, 50)                    # arguments: X offset, Y offset, opacity
    print("Drop shadow added")
except Exception as e:
    print("Shadow call differs in this version: ", e)

About this section: Shape Appearance

Shape Appearance — outline, fill and transparency shortcuts.

Other entries in this section