-
-
Notifications
You must be signed in to change notification settings - Fork 500
Images
Dolan edited this page Jan 23, 2018
·
3 revisions
Adding images is very simple
Simply call the createImage
method:
const image = doc.createImage([PATH_TO_YOUR_IMAGE]);
docx
supports jpeg
, jpg
, bmp
and png
Check demo5.js
for an example