←Select platform

CurrentPageNumberChangedCause Enumeration

Summary

An enumeration detailing the cause of DocumentViewer.CurrentPageNumber changes.

Syntax
C#
C++/CLI
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 22.0.2023.1.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.