getPageCount

@IntRange(from = -1)
open override fun getPageCount(): Int

Gets number of pages in the document.

Return

Number of pages in the displayed document, -1 if document is null.