←Select platform

CurrentPageNumberChangedCause Enumeration

Summary

An enumeration detailing the cause of DocumentViewer.CurrentPageNumber changes.

Syntax
C#
VB
C++
public enum CurrentPageNumberChangedCause 
Public Enum CurrentPageNumberChangedCause 
public: 
   enum class CurrentPageNumberChangedCause sealed 

Members

ValueMemberDescription
0Visibility 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.
1Activity 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.

Remarks

The CurrentPageNumberChangedCause can be viewed when DocumentViewer.CurrentPageNumber changes through the CurrentPageNumberChangeData.Cause property of DocumentViewerOperationEventArgs.Data1 for a DocumentViewerOperation.CurrentPageNumberChanged operation.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly