Appearance
Interface: AddPictureOptions ​
Options for Slide.addPicture. Geometry is in EMU.
Properties ​
contentType? ​
optionalcontentType?:string
MIME content type (e.g. image/png); sniffed alongside extension when omitted.
extension? ​
optionalextension?:string
Image file extension (e.g. png). When omitted it is sniffed from the image's magic bytes; supply it (with contentType) for formats the sniffer does not recognize.
height ​
height:
number
Height in EMU (a:ext/@cy); must be positive.
left ​
left:
number
Left edge in EMU (a:off/@x).
name? ​
optionalname?:string
Shape name (p:cNvPr/@name); defaults to Picture <id>.
top ​
top:
number
Top edge in EMU (a:off/@y).
width ​
width:
number
Width in EMU (a:ext/@cx); must be positive.