How can I get current Page Number of the Page which is being scrolled ?
i.e When Scrolling Page 1 down to Page 2 and so on and Vice versa.
so if the Page 2 of above mentioned File is being displayed in PdfDocumentViewer1
then Textbox1.Text to display as 2 or Page 2.
This is the current page being viewed so textbox1.text to get value of current page
If Yes, Then How ?
Your input will always be appreciated
- Code: Select all
Dim dirPath As String = "C:\Reports"
Dim pdfDoc As Spire.Pdf.PdfDocument = New Spire.Pdf.PdfDocument()
pdfDoc.LoadFromFile(dirPath & "\" & "Record-11234.PDF")
PdfDocumentViewer1.LoadFromFile(dirPath & "\" & "Record-11234.PDF")
Thanks
SamDsouza
14