MCPcopy
hub / github.com/exceljs/exceljs / addImage

Method addImage

index.d.ts:1340–1340  ·  view source on GitHub ↗

* Using the image id from `Workbook.addImage`, * embed an image within the worksheet to cover a range

(imageId: number, range: string | { editAs?: string; } & ImageRange & { hyperlinks?: ImageHyperlinkValue } | { editAs?: string; } & ImagePosition & { hyperlinks?: ImageHyperlinkValue })

Source from the content-addressed store, hash-verified

1338 * embed an image within the worksheet to cover a range
1339 */
1340 addImage(imageId: number, range: string | { editAs?: string; } & ImageRange & { hyperlinks?: ImageHyperlinkValue } | { editAs?: string; } & ImagePosition & { hyperlinks?: ImageHyperlinkValue }): void;
1341
1342 getImages(): Array<{
1343 type: 'image',

Callers 7

test-image-out.jsFile · 0.65
testFunction · 0.65
images.spec.jsFile · 0.65

Calls

no outgoing calls

Tested by 1

testFunction · 0.52