<DropShadowSetting> / Element reference
DropShadowSetting
The DropShadowSetting element in IDML: where it appears (Resources/Preferences), its 12 attributes, their values, and how real documents use them.
Definition
The drop shadow effect: a soft, offset shadow cast by the object.
- Lives in
Resources/Preferences271 andSpreads12- Frequency
- In 273 of the 305 documents of the census (89.5%), 2026-10-12
- Attributes
- 12 observed, 7 of them vary between documents
- Discussed in
- Effects & transparency, Glossary and Groups
Structure
Relationships
Inside
Contains
no elements
DropShadowSetting sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).Attributes
| Attribute | Type | Values | Default | Seen in |
|---|---|---|---|---|
| EffectColor# The swatch the effect is drawn in, by its Self. | reference to Color | any | — | 100% varies in 4 |
| Mode# Whether the drop shadow is on: Drop when it is, None when it is off. | keyword | None271Drop10 or a named value | — | 100% varies in 10 |
| Opacity# How opaque the object or effect is, as a percentage: 100 is solid, 0 invisible. | integer (percent) | 0 to 100 | 75 | 100% varies in 10 |
| Size# How wide the effect's blur or bevel is, in points. | integer or real (pt) | 0 or more | — | 100% varies in 10 |
| XOffset# How far the shadow is offset horizontally, in points; positive is to the right. | integer or real (pt) | any | — | 100% varies in 11 |
| YOffset# How far the shadow is offset vertically, in points; positive is down. | integer or real (pt) | any | — | 100% varies in 10 |
| BlendMode# How the object or effect combines with what lies beneath it: Normal, Multiply, Screen or another of the standard blend modes. | keyword | NormalMultiply271ScreenOverlaySoftLightHardLightColorDodgeColorBurnDarkenLightenDifferenceExclusionHueSaturationColorLuminosity or a named value | Multiply | 99.3% varies in 1 |
| HonorOtherEffects# When true, the shadow follows the shape left by the object's other effects, such as a feather. | boolean | false271 | — | 99.3% |
| KnockedOut# When true, the shadow is hidden behind the object, so it does not show through where the object is transparent. | boolean | true271 | true | 99.3% |
| Noise# Grain mixed into the effect, as a percentage. | integer (percent) | 0 to 100 | 0 | 99.3% |
| Spread# Grows the shadow or glow outward before it fades, hardening its edge, as a percentage of Size. | integer (percent) | 0 to 100 | 0 | 99.3% |
| UseGlobalLight# When true, the effect takes its light direction from the document's global light instead of its own angle. | boolean | false271 | false | 99.3% |
DropShadowSetting (census of 2026-10-12, 305 documents). Seen in is the share of the 273 documents with a DropShadowSetting that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.Visualization

DropShadowSetting in the example “A rectangle with a drop shadow”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in Effects & transparency.Behavior
A <TransparencySetting> after the rectangle's <Properties> carries a <DropShadowSetting>; Mode="Drop" switches it on, XOffset/YOffset move it and Size sets the width of its soft edge.
Shown, with its source and a live render, in Effects & transparency.
Evidence
- Observed
- In 273 of 305 documents (89.5%):
Resources/Preferences271 andSpreads12. - Census
- Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
- Counts are
- Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
- InDesign checks
- A rectangle with a drop shadow: Opened by InDesign 20.0.1.32 with no missing font or link, saved back as IDML and exported to PDF (1 page), 2026-10-11.
Paged support
What Paged, one implementation of the format, does with DropShadowSetting. Nothing in this panel is part of the format; the reference above holds for any reader.
As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.
- Parse
- Reads 12 of the 12 attributes; 5 from a part documents do not keep them in
- Render
- No feature of the capability record names this element; examples compared with InDesign below
- Edit
- 11 attributes map to a scriptable path for
paged.set - Write
- Writes 12 of the 12 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| EffectColor | readseffect_xml.rs:52 | frameDropShadowColor | writeseffects.rs:243 |
| Mode | readseffect_xml.rs:41 | frameDropShadowMode | writeseffects.rs:228 |
| Opacity | readseffect_xml.rs:49 | frameDropShadowOpacity | writeseffects.rs:229 |
| Size | readseffect_xml.rs:48 | frameDropShadowSize | writeseffects.rs:232 |
| XOffset | readseffect_xml.rs:42 | frameDropShadowXOffset | writeseffects.rs:230 |
| YOffset | readseffect_xml.rs:45 | frameDropShadowYOffset | writeseffects.rs:231 |
| BlendMode | readseffect_xml.rs:55 | frameDropShadowBlendMode | writeseffects.rs:244 |
| HonorOtherEffects | wrong part Reads it from MasterSpreads, Spreads; documents keep it in Resources/Preferences. effect_xml.rs:59 | — | writeseffects.rs:247 |
| KnockedOut | wrong part Reads it from MasterSpreads, Spreads; documents keep it in Resources/Preferences. effect_xml.rs:58 | frameDropShadowKnockedOut | writeseffects.rs:241 |
| Noise | wrong part Reads it from MasterSpreads, Spreads; documents keep it in Resources/Preferences. effect_xml.rs:57 | frameDropShadowNoise | writeseffects.rs:246 |
| Spread | wrong part Reads it from MasterSpreads, Spreads; documents keep it in Resources/Preferences. effect_xml.rs:56 | frameDropShadowSpread | writeseffects.rs:245 |
| UseGlobalLight | wrong part Reads it from MasterSpreads, Spreads; documents keep it in Resources/Preferences. effect_xml.rs:60 | frameDropShadowUseGlobalLight | writeseffects.rs:238 |
Rendered against InDesign
- A rectangle with a drop shadow: mean colour difference 0.1 ΔE, structural similarity 1, same fonts on both sides (checked 2026-10-11).
Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names DropShadowSetting.
DocumentPreference
The DocumentPreference element in IDML: where it appears (Resources/Preferences), its 27 attributes, their values, and how real documents use them.
EPubExportPreference
The EPubExportPreference element in IDML: where it appears (Resources/Preferences), its 68 attributes, their values, and how real documents use them.