getPageIndex

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

Returns current page index set on the document.

Return

Index of the page currently displayed in the document (-1 if document is null).