PDFView4NET WinForms Edition
SearchResultHighlightColor Property




O2S.Components.PDFView4NET Namespace > PDFPageView Class : SearchResultHighlightColor Property
Gets or sets the color for highlighting the search results.
Syntax
'Declaration
 
<CategoryAttribute("PDF Search")>
<DescriptionAttribute("Highlight color for search results")>
<DefaultValueAttribute(System.Drawing.Color, "96, 255, 255, 0")>
Public Property SearchResultHighlightColor As Color
'Usage
 
Dim instance As PDFPageView
Dim value As Color
 
instance.SearchResultHighlightColor = value
 
value = instance.SearchResultHighlightColor
[Category("PDF Search")]
[Description("Highlight color for search results")]
[DefaultValue(System.Drawing.Color, "96, 255, 255, 0")]
public Color SearchResultHighlightColor {get; set;}
[Category("PDF Search")]
[Description("Highlight color for search results")]
[DefaultValue(System.Drawing.Color, "96, 255, 255, 0")]
public: __property Color get_SearchResultHighlightColor();
public: __property void set_SearchResultHighlightColor( 
   Color value
);
[Category("PDF Search")]
[Description("Highlight color for search results")]
[DefaultValue(System.Drawing.Color, "96, 255, 255, 0")]
public:
property Color SearchResultHighlightColor {
   Color get();
   void set (    Color value);
}

Property Value

The highlight color for search results.
Remarks
It is recommended to use a transparent color (alpha less than 255) for this property, otherwise the text under highlight will not be visible.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPageView Class
PDFPageView Members