Paper Office
paper-pptxAPI referencedml.effect

ShadowFormat

paper-pptx 0.2.0 API reference

Provides access to shadow effect on a shape.

ShadowFormat(spPr)

Attributes

inherit

attributeinherit

True if shape inherits shadow settings.

Read/write. An explicitly-defined shadow setting on a shape causes this property to return False. A shape with no explicitly-defined shadow setting inherits its shadow settings from the style hierarchy (and so returns True).

Assigning True causes any explicitly-defined shadow setting to be removed and inheritance is restored. Note this has the side-effect of removing all explicitly-defined effects, such as glow and reflection, and restoring inheritance for all effects on the shape. Assigning False causes the inheritance link to be broken and no effects to appear on the shape.

On this page