pageChange
Event for page changes (at top of window).
[event]
pageChange()
This event will be called whenever the viewer displays a new page.
This event is useful, for example, to update a "current page number" display in your application.
The page change event is called whenever the displayed page number changes. This can happen in several ways:
- the user hits the Page Up or Page Down key
- the user clicks on a hyperlink to a different page (or different PDF file)
- any of the "goto" or "scroll" functions are called
midPageChange
for an event
triggered when the page in the middle of the window changes.
VB:
Private Sub viewer_pageChange() Handles viewer.pageChange
pageNumLabel.Caption = viewer.currentPage
End Sub