Skip to main content
Participant
December 14, 2021
Answered

PDF JS API - total pages

  • December 14, 2021
  • 1 reply
  • 933 views

Hi there,

Is it possible for the JavaScript API to count how many pages has? I can see when each page is viewed but can't see a way of getting the total page count.

Any help is appreciated

Conor

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer Joel Geraci

    Use the getMetaData() API to get the number of pages.

    1 reply

    Joel Geraci
    Community Expert
    Joel GeraciCommunity ExpertCorrect answer
    Community Expert
    December 14, 2021

    Use the getMetaData() API to get the number of pages.