| Visual Basic (Declaration) | |
|---|---|
| Public Sub SetGradient( _ ByVal firstColor As Color, _ ByVal secondColor As Color, _ ByVal gradientType As GradientType _ ) | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
|  | |
| C# | |
|---|---|
| public void SetGradient( Color firstColor, Color secondColor, GradientType gradientType ) | |
Parameters
- firstColor
- The first color used for gradient
- secondColor
- The second color used for gradient
- gradientType
- The gradient Type
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
  
  
  
 