Hide page navigation bar for single page documents

Hello,



I’d like to hide the page navigation bar for single page documents.



I could do that if I’d knew the JavaScript function (like $("#annotation-widget").groupdocsAnnotation(“getPageCount”)) to get that information. Does a function like this exist?

The label that shows the page count is bound to “pageCount()” in the JavaScript model, so I think there must be a way to get that information.



Many thanks in advance for your help!



Regards,



Phil

Hi Phil,


Thank you for the request. Unfortunately the current Annotation library doesn’t have such feature - get number of pages. But i have a good news for you - soon we will release a next generation of the Annotation library and it will have such feature.

Please stay tuned with our newsletters and we will notify when it will be released.

Best regards.