PDFView4NET WinForms Edition
TextSelectionColor Property




O2S.Components.PDFView4NET Namespace > PDFPageView Class : TextSelectionColor Property
Gets or sets the color for highlighting the text selection.
Syntax
'Declaration
 
<CategoryAttribute("PDF Text Selection")>
<DescriptionAttribute("Color for text selection")>
<DefaultValueAttribute(System.Drawing.Color, "96, 0, 0, 0")>
Public Property TextSelectionColor As Color
'Usage
 
Dim instance As PDFPageView
Dim value As Color
 
instance.TextSelectionColor = value
 
value = instance.TextSelectionColor
[Category("PDF Text Selection")]
[Description("Color for text selection")]
[DefaultValue(System.Drawing.Color, "96, 0, 0, 0")]
public Color TextSelectionColor {get; set;}
[Category("PDF Text Selection")]
[Description("Color for text selection")]
[DefaultValue(System.Drawing.Color, "96, 0, 0, 0")]
public: __property Color get_TextSelectionColor();
public: __property void set_TextSelectionColor( 
   Color value
);
[Category("PDF Text Selection")]
[Description("Color for text selection")]
[DefaultValue(System.Drawing.Color, "96, 0, 0, 0")]
public:
property Color TextSelectionColor {
   Color get();
   void set (    Color value);
}

Property Value

The highlight color for text selection.
Remarks
It is recommended to use a transparent color (alpha less than 255) for this property, otherwise the text under selection 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