getPageIndex

open fun getPageIndex(): Int

The page number to which this annotation belongs. If the annotation is not attached to any document, this method will return PAGE_NUMBER_NOT_SET.

Return

Page number tied to the annotation or PAGE_NUMBER_NOT_SET if not set.