DocumentViewerFindText Object

Summary

Contains options for a find text operation.

Syntax
TypeScript
JavaScript
function lt.Document.Viewer.DocumentViewerFindText 
class lt.Document.Viewer.DocumentViewerFindText() 
Remarks

DocumentViewerFindText contains properties to indicate the bounds, content, and other options to use for DocumentViewerText.Find. The options in DocumentViewerFindText are useful for conducting multi-result find text operations with control over character bounds, case matching, result highlighting, and more.

As discussed below, DocumentViewerFindText used to search for only one result at a time and internally hold the last result, so that reuse of the same instance would search starting from that last result. From 19.0.0.49 on, DocumentViewerFindText now holds no internal state and always relies on the values of BeginPosition and Start for the initial search location.

Refer to DocumentViewerText.Find for more information.

History

19.0.0.49

This class no longer holds internal state for previous searches, and some properties have been added/removed. Refer to DocumentViewerText.Find for more information.

Changed Property Summary of Change

AutoEnsureVisible

Removed - Replaced by SelectFirstResult

AutoSelect

Removed - Replaced by SelectFirstResult

GoToNextPage

Removed - Replaced by BeginPosition and EndPosition

PageNumber

Removed - Replaced by BeginPosition and EndPosition

Recursive

Removed - Replaced by Loop

BeginPosition

Added

EndPosition

Added

FindAll

Added

Loop

Added

RenderResults

Added

SelectFirstResult

Added

Start

Added

ManualStartPosition

Added

Data

Added

Example

Refer to DocumentViewerText.Find for an example.

Requirements

Target Platforms

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

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