getPageCount

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

Gets number of pages in the document.

Return

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