BCGSoft.Shared Namespace > DrawManager Class : 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.
'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 )
Specifies a rectangular area to fill.
Specifies the transparency percentage.
Specifies the transparent color.
Base highlighting color.
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