CurrentPageNumberChangedCause Enumeration

Summary

An enumeration detailing the cause of DocumentViewer.currentPageNumber changes.

Syntax
TypeScript
JavaScript
lt.Document.Viewer.CurrentPageNumberChangedCause = { 
	visibility: 0, 
	activity: 1 
} 
lt.Document.Viewer.CurrentPageNumberChangedCause = { 
	visibility: 0, 
	activity: 1 
} 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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