←Select platform

FoundTextBrush Property

Summary

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

Syntax
C#
C++/CLI
public static Brush FoundTextBrush { 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 22.0.2023.1.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.