lastFindText Property


The last DocumentViewerFindText options object used in a completed Find.


JavaScript Syntax
Object.defineProperty(DocumentViewerText.prototype, 'lastFindText', 
	get: function() 
TypeScript Syntax
lastFindText: DocumentViewerFindText; // read-only 

Property Value

A copy of the last DocumentViewerFindText object passed to Find, or null in certain conditions.


After the completion of a Find operation, a copy (made with DocumentViewerFindText.Clone) of the options passed will be saved to LastFindText. Each access of LastFindText will return a clone of the saved options. The value can be cleared with ClearLastFindText.

If Find has not been called on this DocumentViewerText or if ClearLastFindText has been called, LastFindText will be null.

This property is useful for re-using options to search through the same bounds with the same options with minimal setup for Find.

Refer to Find for more information.


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