i want to replace all *cross with actual value coming from REST API, can we do this?
from documentation i could see to add new element
await pres.getSlide('slide1').addImage(image => {
image
.file(./images/pizza.jpg)
.x(500)
.y(100)
.cx(166)
.cy(100);
});
i want to replace all *cross with actual value coming from REST API, can we do this? from documentation i could see to add new element await pres.getSlide('slide1').addImage(image => { image .file(
./images/pizza.jpg
) .x(500) .y(100) .cx(166) .cy(100); });