ImageBlock
Defined in: src/core/document-model/types.ts:1075
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
readonlyoptionalalpha?:number
Defined in: src/core/document-model/types.ts:1099
§20.1.8.4 a:alphaModFix — how opaque the picture is DRAWN, 0..1; absent
is opaque. A layout that lays a photograph behind its text sets it low
(ArtisticEffectSample’s cover shows one at 52%), and drawn full-strength
the words on it are unreadable.
altText?
Section titled “altText?”
readonlyoptionalaltText?:string
Defined in: src/core/document-model/types.ts:1124
wp:docPr @descr/@title — alternate text for the tagged-PDF Figure (/Alt).
colorChange?
Section titled “colorChange?”
readonlyoptionalcolorChange?:object
Defined in: src/core/document-model/types.ts:1104
§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.
fromHex
Section titled “fromHex”
readonlyfromHex:string
readonlytoHex:string
transparent
Section titled “transparent”
readonlytransparent:boolean
readonlyoptionalcrop?:ImageCrop
Defined in: src/core/document-model/types.ts:1112
§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:1121
§20.4.2.6 wp:effectExtent — space reserved around the picture (see InlineImage).
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:1116
§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:1117
float?
Section titled “float?”
readonlyoptionalfloat?:FloatAnchor
Defined in: src/core/document-model/types.ts:1077
§20.4.2.3 — present when the drawing is anchored (floating).
height
Section titled “height”
readonlyheight:Pt
Defined in: src/core/document-model/types.ts:1110
outline?
Section titled “outline?”
readonlyoptionaloutline?:PictureOutline
Defined in: src/core/document-model/types.ts:1080
The picture’s own frame, when it has one (see PictureOutline).
paragraphProperties
Section titled “paragraphProperties”
readonlyparagraphProperties:ParagraphProperties
Defined in: src/core/document-model/types.ts:1122
relativeSize?
Section titled “relativeSize?”
readonlyoptionalrelativeSize?:RelativeSize
Defined in: src/core/document-model/types.ts:1119
wp14:sizeRelH/V — a size stated as a share of the page or margins.
resource?
Section titled “resource?”
readonlyoptionalresource?:ResourceId
Defined in: src/core/document-model/types.ts:1078
rotation60k?
Section titled “rotation60k?”
readonlyoptionalrotation60k?:number
Defined in: src/core/document-model/types.ts:1114
§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:1086
§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:1092
§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:1109