←Select platform

ClearRenderedFoundText Method

Summary

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

Syntax
C#
VB
C++
public void ClearRenderedFoundText() 
Public Sub ClearRenderedFoundText() 
public: 
   void ClearRenderedFoundText() 

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 FoundTextBrush after ImageViewer.PostRenderItem is called on the ImageViewerItem for each DocumentPage.

_By default, results are not cleared between calls to Find_, in order 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 21.0.2020.9.23
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly