chetankotwal
Sep 11, 2023Iron Contributor
Status:
New
How to get current page number and the total page count of a document using Word Add-in office.js
I would like to inquire if there is a method or feature available in Office.js for programmatically obtaining the current page number and the total page count of a document. Specifically, I am intere...
Yun_Wang
Microsoft
Mar 11, 2025Page API is supported through this desktop only requirement set. Please note that Word online doesn't have this support.
https://learn.microsoft.com/en-us/javascript/api/requirement-sets/word/word-api-desktop-1.2-requirement-set?view=word-js-preview