DocumentViewerFindText Object

Summary

Contains options for a find text operation.

Syntax

JavaScript Syntax
function lt.Documents.UI.DocumentViewerFindText 
TypeScript Syntax
class lt.Documents.UI.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 are 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly