shape.Effects
The effects collection — drop shadow, extrude, contour, envelope, perspective all hang off here.
Signature
shape.Effects
Notes
The effects collection — drop shadow, extrude, contour, envelope, perspective all hang off here.
Python example (runnable)
Requires
pywin32. The example assumes app / doc / page / layer are already connected.
See Connection & InitPython
shape = app.ActiveSelectionRange(1)
# Effects is the entry point for extrude, contour, envelope, perspective
print("Effects: ", shape.Effects.Count)
for i in range(1, shape.Effects.Count + 1):
print(i, "Effect type: ", shape.Effects.Item(i).Type)
About this section: Shape Appearance
Shape Appearance — outline, fill and transparency shortcuts.
- This section has 11 entries; this is one of them.
- See the full section index: Shape Appearance
Other entries in this section
- shape.FillThe fill object. See the Fill section.
- shape.OutlineThe outline object. See the Outline section.
- shape.RectangleThe rectangle sub-object, which owns the corners: .CornerType (0 = squ
- shape.TransparencyTransparency: .ApplyTransparency(type, start, end), or set .Transparen
- shape.ShadowShadow properties.
- shape.LensLens (magnify, fisheye, color transform and so on).
- shape.TextThe text object. See the Text section. Accessing it on a non-text shap
- shape.PowerClipThe PowerClip container. See the PowerClip section.