Unicode Controls & Classes for VB6 - Version 4

clsGpSession.FadeColorsCoordsHdc Method

Draw a surface fading two colors on a specified Device Context

Syntax
Public Sub FadeColorsCoordsHdc (ByRef lHdc As Long, _
ByVal X1 As Long, _
ByVal y1 As Long, _
ByVal X2 As Long, _
ByVal y2 As Long, _
ByVal cStart As Long, _
ByVal cStop As Long, _
ByVal mode As GpLinearGradientMode)
Parameters
Parameter Description
ByRef lHdc As Long Destination Device Context
ByVal X1 As Long Specifies the x-coordinate of the rectangle's upper-left corner.
ByVal y1 As Long Specifies the y-coordinate of the rectangle's upper-left corner.
ByVal X2 As Long Specifies the x-coordinate of the rectangle's lower-right corner.
ByVal y2 As Long Specifies the y-coordinate of the rectangle's lower-right corner.
ByVal cStart As Long Start Color (standard RGB color)
ByVal cStop As Long End Color (standard RGB color)
ByVal mode As GpLinearGradientMode Gradient mode
Remarks