Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Jan 06, 2022 6:58 am

how to get page number by clicking the page inside the pdf viewer

Twentyf4
 
Posts: 18
Joined: Thu Dec 16, 2021 2:23 am

Thu Jan 06, 2022 10:26 am

Hello,

Thank you for your inquiry.
Please use the following code to get the current page number.
Code: Select all
Dim pageNumber As Integer = Me.pdfDocumentViewer1.CurrentPageNumber

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1643
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.PDF