Skip to content

InlineImage

Defined in: src/core/document-model/types.ts:334

readonly optional colorChange?: object

Defined in: src/core/document-model/types.ts:360

§20.1.8.16 a:clrChange — one colour of the picture replaced by another, or knocked out entirely when the destination states a:alpha at zero. A logo on a white card goes onto a dark slide that way (corpus: tdf113163, whose whole slide is a metafile with its white ground declared away).

readonly fromHex: string

readonly toHex: string

readonly transparent: boolean


readonly optional crop?: ImageCrop

Defined in: src/core/document-model/types.ts:368

§20.1.8.55 a:srcRect — the part of the source the frame shows.


readonly optional effectExtent?: object

Defined in: src/core/document-model/types.ts:379

§20.4.2.6 wp:effectExtent — space the drawing needs BEYOND its extent, for what a rotation or an effect throws outside the frame. The line box reserves it; the picture itself is drawn inset by it.

readonly bottomPt: Pt

readonly leftPt: Pt

readonly rightPt: Pt

readonly topPt: Pt


readonly optional flipH?: boolean

Defined in: src/core/document-model/types.ts:372

§20.1.7.6 a:xfrm @flipH/@flipV — the picture drawn mirrored.


readonly optional flipV?: boolean

Defined in: src/core/document-model/types.ts:373


readonly height: Pt

Defined in: src/core/document-model/types.ts:366


readonly optional outline?: PictureOutline

Defined in: src/core/document-model/types.ts:341

The picture’s own frame, when it has one (see PictureOutline).


readonly optional resource?: ResourceId

Defined in: src/core/document-model/types.ts:339

Content-addressed bytes in the document’s ResourceStore; absent when the source relationship did not resolve (the layout box still reserves space).


readonly optional rotation60k?: number

Defined in: src/core/document-model/types.ts:370

§20.1.7.6 a:xfrm @rot — the picture’s own rotation (1/60000°, clockwise).


readonly optional shadow?: ShapeShadow

Defined in: src/core/document-model/types.ts:347

§20.1.8.40 a:outerShdw — the drop shadow under the picture. Word writes one on every screenshot pasted with a style; drawn nowhere, imgshadow.docx’s six stood flat on the page where both references lift them off it.


readonly optional wash?: object

Defined in: src/core/document-model/types.ts:353

§14.1.2.10 @gain/@blacklevel — the contrast and brightness the picture is drawn through, about mid grey: out = (in - 0.5) * gain + 0.5 + black. Word washes a watermark out this way.

readonly black: number

readonly gain: number


readonly width: Pt

Defined in: src/core/document-model/types.ts:365