<Layer> / Element reference
Layer
The Layer element in IDML: where it appears (designmap), its 11 attributes, their values, and how real documents use them.
Definition
A document layer; controls visibility, lock, and print state for the items assigned to it.
- Lives in
designmap272- Frequency
- In 272 of the 305 documents of the census (89.2%), 2026-10-12
- Attributes
- 11 observed, 6 of them vary between documents
- Discussed in
- The layer model, Layers, The design map, Visibility and printing, Glossary and Page items and stacking
Structure
Relationships
Layer 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 |
|---|---|---|---|---|
| Locked# When true, InDesign won't let the object be selected or edited. It still displays and prints. | boolean | false272true11 | false | 100% varies in 11 |
| Name# The label in InDesign's Layers panel. | keyword or reference or text | any | — | 100% varies in 272 |
| Self# What ItemLayer refers to. | id | any | — | 100% varies in 267 |
Visible#Visible, Printable and Locked are covered on visibility and printing. | boolean | true272 | true | 100% |
| Expendable# | boolean | true271 | — | 99.6% |
| IgnoreWrap# | boolean | false271 | — | 99.6% varies in 1 |
| LayerColor a child of Properties #The colour InDesign marks the layer's items with on screen, a typed property; it does not print. | enumeration | any | — | 99.6% varies in 246 |
| LockGuides# When true, the guides on this layer cannot be moved. | boolean | false271 | — | 99.6% varies in 1 |
| Printable# When false, the layer's items show on screen but are left out of printing and export. | boolean | true271 | true | 99.6% |
ShowGuides#ShowGuides, LockGuides, IgnoreWrap (items on the layer cause no text wrap), Expendable and UI, and the panel colour LayerColor, do not change what a page looks like apart from IgnoreWrap. | boolean | true271 | — | 99.6% |
| UI# | boolean | true271 | — | 99.6% |
Layer (census of 2026-10-12, 305 documents). Seen in is the share of the 272 documents with a Layer 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

Layer in the example “Layer order beats document order”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in The layer model.Behavior
The design map lists layers from bottom to top. The red rectangle comes first in the spread but sits on the second-listed layer, so it paints above the blue rectangle on the first-listed layer.
Shown, with its source and a live render, in The layer model.
Evidence
- Observed
- In 272 of 305 documents (89.2%):
designmap272. - 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
- Layer order beats document order: 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 Layer. 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 5 of the 11 attributes
- Render
- 2 features of the capability record name this element (below); examples compared with InDesign below
- Edit
- 4 attributes map to a scriptable path for
paged.set - Write
- Writes none of its attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| Locked | readsdesignmap.rs:182 | layerLocked | not written |
| Name | readsdesignmap.rs:178 | layerName | not written |
| Self | readsdesignmap.rs:175 | — | not written |
| Visible | readsdesignmap.rs:179 | layerVisible | not written |
| Expendable | not read | — | not written |
| IgnoreWrap | not read | — | not written |
| LayerColor | not read | — | not written |
| LockGuides | not read | — | not written |
| Printable | readsdesignmap.rs:185 | layerPrintable | not written |
| ShowGuides | not read | — | not written |
| UI | not read | — | not written |
In the capability record
| Feature | Parse | Render | Edit | Evidence |
|---|---|---|---|---|
| Layer model (visibility, lock, printable, z-order) shipped | yes | yes | — | All linked evidence is passing (30 tests current) |
| Layer ops (insert/remove/move/rename + flags) shipped | — | — | yes | All linked evidence is passing (21 tests current) |
Rendered against InDesign
- Layer order beats document order: mean colour difference 0.021 Δ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 Layer.