An enumeration detailing the cause of DocumentViewer.currentPageNumber changes.
lt.Document.Viewer.CurrentPageNumberChangedCause = {
visibility: 0,
activity: 1
}
lt.Document.Viewer.CurrentPageNumberChangedCause = {
visibility: 0,
activity: 1
}
Value | Member | Description |
---|---|---|
0 | Visibility | The current page number was updated because the new page's visibility became greater than the old page's visibility. This can occur due to scrolling, page navigation, zooming, etc. |
1 | Activity | The current page number was updated because the new page was interacted with, either by mouse/pointer interaction or through a DocumentViewerCommand that set the page's ImageViewerItem as the ImageViewer.activeItem. |
The CurrentPageNumberChangedCause can be viewed when DocumentViewer.currentPageNumber changes through the CurrentPageNumberChangeData.cause property of DocumentViewerOperationEventArgs.data1 for a DocumentViewerOperation.currentPageNumberChanged operation.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document