←Select platform

FoundTextBrush Property

Summary

The brush used to highlight the results from previous calls to DocumentViewerText.Find.

Syntax

C#
VB
C++
public static Brush FoundTextBrush { get; set; } 
Public Shared Property FoundTextBrush() As System.Drawing.Brush 
   Get 
   Set 
public: 
   static property System::Drawing::Brush^ FoundTextBrush 
   { 
      System::Drawing::Brush^ get() 
      void set(System::Drawing::Brush^ value) 
   } 

Property Value

A System.Drawing.Brush object. The default is a solid brush using brown with an alpha value of 52.

Remarks

When DocumentViewerFindText.RenderResults is true after a successful find text operation from DocumentViewerText.Find, the results (if any) from the operation are added to an internal list of results from all operations since the last time DocumentViewerText.ClearRenderedFoundText was called. This static property sets the color used for this highlight. If set to null, results are still added to the internal list but no highlighting occurs.

See DocumentViewerText.Find for more information.

History

19.0.0.49
Added
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.WinForms Assembly