heavysixer / node-pptx

Generate PPTX files on the server-side with JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can we edit existing slide element?

sharmam1 opened this issue · comments

Screen Shot 2021-04-30 at 4 48 58 PM

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);
});

@sharmam1 did you find a solution? I`ve the same issue here.

@sharmam1, @diegoafaguiar, is there any development on this? thanks