I am using PPTxgenjs library. I want to show page number/slide number with my title like this [Dashboard Reporting (Page 1...)]
on each slide. I tried Slide methods.
var pptx = null;
pptx=new PptxGenJS();
var slide=pptx.addNewSlide();
var slideNum=slide.pageNumber();
but it's giving me error
slide.pageNumber() is not a function.
You can use like
where
x
andy
are slide1's position. You can set it with your title position.