BCGControlBar Library for .NET
HighlightRect Method




Specifies a rectangular area to fill.

Specifies the transparency percentage.

Specifies the transparent color.

Base highlighting color.

Call this member function to highlight a rectangular area.

Syntax
'Declaration
 
Public Function HighlightRect( _
   ByVal rect As Rectangle, _
   ByVal nPercentage As Integer, _
   ByVal clrTransparent As Color, _
   ByVal clrBtnHighlight As Color _
) As Boolean
'Usage
 
Dim instance As DrawManager
Dim rect As Rectangle
Dim nPercentage As Integer
Dim clrTransparent As Color
Dim clrBtnHighlight As Color
Dim value As Boolean
 
value = instance.HighlightRect(rect, nPercentage, clrTransparent, clrBtnHighlight)
public bool HighlightRect( 
   Rectangle rect,
   int nPercentage,
   Color clrTransparent,
   Color clrBtnHighlight
)
public: bool HighlightRect( 
   Rectangle rect,
   int nPercentage,
   Color clrTransparent,
   Color clrBtnHighlight
) 
public:
bool HighlightRect( 
   Rectangle rect,
   int nPercentage,
   Color clrTransparent,
   Color clrBtnHighlight
) 

Parameters

rect

Specifies a rectangular area to fill.

nPercentage

Specifies the transparency percentage.

clrTransparent

Specifies the transparent color.

clrBtnHighlight

Base highlighting color.

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

DrawManager Class
DrawManager Members

Send Feedback