<FrameFittingOption> / Element reference
FrameFittingOption
The FrameFittingOption element in IDML: where it appears (Resources/Preferences), its 7 attributes, their values, and how real documents use them.
Definition
How a placed picture fits its frame: the crop on each side, the fit applied and its reference point.
- Lives in
Resources/Preferences271,Resources/Styles271,Spreads95,MasterSpreads19 andStories1- Frequency
- In 276 of the 305 documents of the census (90.5%), 2026-10-12
- Attributes
- 7 observed, 7 of them vary between documents
- Discussed in
- Placed images, Images & graphics and Object styles
Structure
Relationships
Inside
ObjectStyle271idPkg:Preferences271Rectangle95Oval58Polygon58
Contains
no elements
FrameFittingOption 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 |
|---|---|---|---|---|
| BottomCrop# | integer or real | any | — | 100% varies in 71 |
| FittingOnEmptyFrame# The fit applied to a picture placed into the frame, such as Proportionally, FillProportionally or FitContentToFrame; None applies none. | keyword | None272Proportionally9FillProportionally58ContentToFrameCenterContentFrameToContent or a named value | None | 100% varies in 63 |
| LeftCrop# | integer or real | any | — | 100% varies in 70 |
| RightCrop# | integer or real | any | — | 100% varies in 66 |
| TopCrop# | integer or real | any | — | 100% varies in 71 |
| FittingAlignment# The reference point the fitted picture is aligned to, such as CenterAnchor or TopLeftAnchor. | keyword | TopLeftAnchor11TopCenterAnchorTopRightAnchorLeftCenterAnchorCenterAnchor269RightCenterAnchorBottomLeftAnchorBottomCenterAnchorBottomRightAnchor or a named value | CenterAnchor | 98.2% varies in 11 |
| AutoFit# When true, InDesign fits the picture again whenever the frame is resized. | boolean | false270true13 | false | 97.8% varies in 13 |
FrameFittingOption (census of 2026-10-12, 305 documents). Seen in is the share of the 276 documents with a FrameFittingOption 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.Evidence
- Observed
- In 276 of 305 documents (90.5%):
Resources/Preferences271,Resources/Styles271,Spreads95,MasterSpreads19 andStories1. - 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.
Paged support
What Paged, one implementation of the format, does with FrameFittingOption. 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 7 of the 7 attributes
- Render
- No feature of the capability record names this element
- Edit
- 3 attributes map to a scriptable path for
paged.set - Write
- Writes 7 of the 7 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| BottomCrop | readsspread.rs:2350 | — | writesframe_fitting.rs:132 |
| FittingOnEmptyFrame | readsspread.rs:2351 | frameFittingType | writesframe_fitting.rs:139 |
| LeftCrop | readsspread.rs:2347 | — | writesframe_fitting.rs:129 |
| RightCrop | readsspread.rs:2349 | — | writesframe_fitting.rs:131 |
| TopCrop | readsspread.rs:2348 | — | writesframe_fitting.rs:130 |
| FittingAlignment | readsspread.rs:2352 | frameFittingReferencePoint | writesframe_fitting.rs:142 |
| AutoFit | readsspread.rs:2353 | frameAutoFit | writesframe_fitting.rs:126 |
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 FrameFittingOption.
FootnoteOption
The FootnoteOption element in IDML: where it appears (Resources/Preferences), its 41 attributes, their values, and how real documents use them.
GradientFeatherSetting
The GradientFeatherSetting element in IDML: where it appears (Resources/Preferences), its 7 attributes, their values, and how real documents use them.