Search results

Navigation API in React PDF Viewer API component

Navigation module

Methods

goToFirstPage

Navigate to First page of the PDF document

Returns void

goToLastPage

Navigate to Last page of the PDF document

Returns void

goToNextPage

Navigate to Next page of the PDF document

Returns void

goToPage

Navigate to given Page number Note : In case if we have provided incorrect page number as argument it will retain the existing page

Parameter Type Description
pageNumber number Defines the page number to navigate

Returns void

goToPreviousPage

Navigate to Previous page of the PDF document

Returns void