←Select platform

GotoNextPage Property (DocumentViewerFindText) (Removed)

<

Summary

Indicates whether to automatically search the next page when no more matches are found in the current page.

Syntax

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

Property Value

true to automatically search the next page when no more matches are found in the current page; otherwise, false. Default value is true.

Remarks

(This property was removed in version 19.0.0.49. Please see BeginPosition and EndPosition instead.)

When GotoNextPage is true (the default) and the search has exhausted the text in the current PageNumber, the engine will automatically advance to the next page (which could be PageNumber + 1 or - 1 depending if find next or find previous is being performed). When search reaches the end of the document (or the beginning with a find previous operation), the value of Recursive is checked, and this value is true, then search will continue by cycling through the document pages till the original location is reached and no more matches are found.

If a match is found, PageNumber will be updated with the number of page.

When GotoNextPage is false, then search is restricted to the current page only. When the search has exhausted the text, it will not go to the next page. If Recursive is true, then search will cycle through the text of the page until the original location is reached and no more matches are found.

History

19.0.0.49
Removed - Replaced by BeginPosition and EndPosition
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly