Skip to content

Is it possible to get the total number of pages when a table's autoPage is true? #1149

Answered by mstudio
mstudio asked this question in Q&A
Discussion options

You must be logged in to vote

I just reviewed the source code and do see that this is available to the slide object as a property: _slideNum, e.g.:

const currentSlide = pptx.addSlide();
const slideNum = currentSlide._slideNum;

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mstudio
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants