←Select platform

SmartCurrentPageNumber Property

Summary

Controls the behavior of the CurrentPageNumber.

Syntax
C#
C++/CLI
public virtual bool SmartCurrentPageNumber { 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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.