←Select platform

SmartCurrentPageNumber Property

Summary

Controls the behavior of the CurrentPageNumber.

Syntax
C#
VB
C++
public virtual bool SmartCurrentPageNumber { get; set; } 
Public Overridable Property SmartCurrentPageNumber() As Boolean 
   Get 
   Set 
public:  
   virtual property bool SmartCurrentPageNumber 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to use a smarter algorithm for determining the CurrentPageNumber of the DocumentViewer; otherwise, false to just track the active page. The default value is true.

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.WinForms Assembly