Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Hi,
Using the below code in page layouts, I tried to get the total page count of the PDF.
<span data-field="total-pages" data-format="default">1</span>
total page count is getting added in pdf. But can't able to fetch the value in JS. When trying to fetch the page count it's giving counter(pages) in console.
How to achieve this functionality?
Gelöst! Gehe zu Lösung.
Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.
Zugriffe
Antworten
Likes gesamt
To get total number of pages in PDF you can use below code in Javascript:
window.ro.layout.numberOfPages
To get total number of pages in PDF you can use below code in Javascript:
window.ro.layout.numberOfPages
Thanks @DivrajSingh. This solution works fine.
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten