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




Syntax
'Declaration
 
Public Overloads Sub FillGradient( _
   ByVal rect As Rectangle, _
   ByVal colorStart As Color, _
   ByVal colorFinish As Color, _
   ByVal bHorz As Boolean, _
   ByVal startFlatPercentage As Integer, _
   ByVal endFlatPercentage As Integer _
) 
'Usage
 
Dim instance As DrawManager
Dim rect As Rectangle
Dim colorStart As Color
Dim colorFinish As Color
Dim bHorz As Boolean
Dim startFlatPercentage As Integer
Dim endFlatPercentage As Integer
 
instance.FillGradient(rect, colorStart, colorFinish, bHorz, startFlatPercentage, endFlatPercentage)
public void FillGradient( 
   Rectangle rect,
   Color colorStart,
   Color colorFinish,
   bool bHorz,
   int startFlatPercentage,
   int endFlatPercentage
)
public: void FillGradient( 
   Rectangle rect,
   Color colorStart,
   Color colorFinish,
   bool bHorz,
   int startFlatPercentage,
   int endFlatPercentage
) 
public:
void FillGradient( 
   Rectangle rect,
   Color colorStart,
   Color colorFinish,
   bool bHorz,
   int startFlatPercentage,
   int endFlatPercentage
) 

Parameters

rect
colorStart
colorFinish
bHorz
startFlatPercentage
endFlatPercentage
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