officegen icon indicating copy to clipboard operation
officegen copied to clipboard

how to insert an image in the table when I try to generate a docx document?

Open Trinyoung opened this issue 6 years ago • 4 comments

Trinyoung avatar May 31 '18 02:05 Trinyoung

please give me an answer!please

Trinyoung avatar Jun 04 '18 02:06 Trinyoung

Add an image to a paragraph:

var path = require('path');

pObj.addImage ( path.resolve(__dirname, 'myFile.png' ) ); pObj.addImage ( path.resolve(__dirname, 'myFile.png', { cx: 300, cy: 200 } ) );

bluemsun888 avatar Sep 07 '18 23:09 bluemsun888

i also want to know

violetZZQ avatar Dec 27 '19 06:12 violetZZQ

i also want to know

Ena-Heleneto avatar Apr 22 '24 23:04 Ena-Heleneto