smartCurrentPageNumber Property

Summary

Controls the behavior of currentPageNumber.

Syntax
TypeScript
JavaScript
Object.defineProperty(DocumentViewer.prototype, 'smartCurrentPageNumber', 
	get: function(), 
	set: function(value) 
) 
smartCurrentPageNumber: boolean; 

Property Value

true (default) to use a smarter algorithm for determining the currentPageNumber of the DocumentViewer; otherwise, false to just track the active page.

Remarks

When the value of SmartCurrentPageNumber is true (the default value), CurrentPageNumber updates when the visibility of pages is updated due to scrolling or navigation. To tie CurrentPageNumber with the current active page of the view, set the value of SmartCurrentPageNumber to false.

See currentPageNumber for more information.

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 Assembly