InlineImage
Defined in: src/core/document-model/types.ts:278
Properties
Section titled “Properties”colorChange?
Section titled “colorChange?”
readonlyoptionalcolorChange?:object
Defined in: src/core/document-model/types.ts:304
§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).
fromHex
Section titled “fromHex”
readonlyfromHex:string
readonlytoHex:string
transparent
Section titled “transparent”
readonlytransparent:boolean
readonlyoptionalcrop?:ImageCrop
Defined in: src/core/document-model/types.ts:312
§20.1.8.55 a:srcRect — the part of the source the frame shows.
effectExtent?
Section titled “effectExtent?”
readonlyoptionaleffectExtent?:object
Defined in: src/core/document-model/types.ts:323
§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.
bottomPt
Section titled “bottomPt”
readonlybottomPt:Pt
leftPt
Section titled “leftPt”
readonlyleftPt:Pt
rightPt
Section titled “rightPt”
readonlyrightPt:Pt
readonlytopPt:Pt
flipH?
Section titled “flipH?”
readonlyoptionalflipH?:boolean
Defined in: src/core/document-model/types.ts:316
§20.1.7.6 a:xfrm @flipH/@flipV — the picture drawn mirrored.
flipV?
Section titled “flipV?”
readonlyoptionalflipV?:boolean
Defined in: src/core/document-model/types.ts:317
height
Section titled “height”
readonlyheight:Pt
Defined in: src/core/document-model/types.ts:310
outline?
Section titled “outline?”
readonlyoptionaloutline?:PictureOutline
Defined in: src/core/document-model/types.ts:285
The picture’s own frame, when it has one (see PictureOutline).
resource?
Section titled “resource?”
readonlyoptionalresource?:ResourceId
Defined in: src/core/document-model/types.ts:283
Content-addressed bytes in the document’s ResourceStore; absent when the
source relationship did not resolve (the layout box still reserves space).
rotation60k?
Section titled “rotation60k?”
readonlyoptionalrotation60k?:number
Defined in: src/core/document-model/types.ts:314
§20.1.7.6 a:xfrm @rot — the picture’s own rotation (1/60000°, clockwise).
shadow?
Section titled “shadow?”
readonlyoptionalshadow?:ShapeShadow
Defined in: src/core/document-model/types.ts:291
§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.
readonlyoptionalwash?:object
Defined in: src/core/document-model/types.ts:297
§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.
readonlyblack:number
readonlygain:number
readonlywidth:Pt
Defined in: src/core/document-model/types.ts:309