BCGControlBar Library for .NET
FillGradient(Region,Color,Color,Boolean) Method




Specifies an area to fill.

Specifies the color to start.

Specifies the color to finish.

TRUE - horizontal gradient, FALSE - vertical gradient.

Call this function to fill the specified area with the gradient color.
Syntax
'Declaration
 
Public Overloads Sub FillGradient( _
   ByVal region As Region, _
   ByVal colorStart As Color, _
   ByVal colorFinish As Color, _
   ByVal bHorz As Boolean _
) 
'Usage
 
Dim instance As DrawManager
Dim region As Region
Dim colorStart As Color
Dim colorFinish As Color
Dim bHorz As Boolean
 
instance.FillGradient(region, colorStart, colorFinish, bHorz)
public void FillGradient( 
   Region region,
   Color colorStart,
   Color colorFinish,
   bool bHorz
)
public: void FillGradient( 
   Region* region,
   Color colorStart,
   Color colorFinish,
   bool bHorz
) 
public:
void FillGradient( 
   Region^ region,
   Color colorStart,
   Color colorFinish,
   bool bHorz
) 

Parameters

region

Specifies an area to fill.

colorStart

Specifies the color to start.

colorFinish

Specifies the color to finish.

bHorz

TRUE - horizontal gradient, FALSE - vertical gradient.

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
Overload List

Send Feedback