DocumentSearch Class Members

Summary

The following tables list the members exposed by DocumentSearch.

Public Methods

Name Description
Public Method clear Clears all data in the DocumentSearch module.
Public Method clearActiveSelection Clears the current active result.
Public Method moveToNext Move to the next result. If no result is currently active, the very first result will be set.
Public Method moveToPrevious Move to the previous result. If no result is currently active, the very first result will be set.
Public Method replace Replaces the active result with the provided string.
Public Method replaceAll Replaces all results with the provided string.
Public Method resolveSearchResultPoints Resolves search result points.
Public Method search Searches this text region for the provided sub-string.
Public Method searchRegexp Searches this text region based on the provided RegExp.
Public Method setActiveSelectionRelativeToCursor Sets the current active result relative to the cursor position.

Public Properties

Name Description
Public Property static  | Shared in VB currentPosition 1-Based position of the current active result.
Public Property static  | Shared in VB editor Gets the editor instance for this DocumentSearch Object.
Public Property static  | Shared in VB totalResults The total number of search results.

See Also

DocumentSearch Class

Leadtools.Document.Editor Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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