Returns the gradient color from a gradient position.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim beginColor As Color
Dim endColor As Color
Dim dPosition As Double
Dim value As Color
value = ChartGraphics.GetGradientColor(beginColor, endColor, dPosition)
|
Parameters
- beginColor
- The color from the gradient begining.
- endColor
- The color from the gradient end.
- dPosition
- Relative position between Begin color and End color. The double number between 0 - 1.
Return Value
Result color.
Requirements
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
See Also