clearRenderedFoundText Method

Summary

Clears the internal list of rendered results from previous calls to Find.

Syntax
TypeScript
JavaScript
DocumentViewerText.prototype.clearRenderedFoundText = function() 
clearRenderedFoundText(): void; 

Remarks

When DocumentViewerFindText.RenderResults is true and Find completes successfully, the results (if any) of the search will be added to the internal list of results in DocumentViewerText. All results in the internal list will be drawn to the screen with FoundTextFill after ImageViewer.PostRenderItem is called on the ImageViewerItem for each [DocumentViewerPage].

_By default, results are not cleared between calls to Find_, to support multiple find text operations with different bounds and options. For this reason, it is best to call ClearRenderedFoundText before each find text operation if you wish to render only that set of results.

History

19.0.0.49
Added

Example

For an example, refer to Find.

Requirements

Target Platforms

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

Leadtools.Document.Viewer Assembly