Unicode Controls & Classes for VB6 - Version 4

clsGpBrush.CreateLinearBrushFromRect_Color Function

Creates a linear brush

Syntax
Public Function CreateLinearBrushFromRect_Color (ByVal Left As Long, _
ByVal Top As Long, _
ByVal Width As Long, _
ByVal Height As Long, _
ByVal GpColor1 As clsGpColor, _
ByVal GpColor2 As clsGpColor, _
ByVal mode As GpLinearGradientMode, _
ByVal WrapMd As GpWrapMode) As GpStatus
Parameters
Parameter Description
ByVal Left As Long The left coordinate
ByVal Top As Long The top coordinate
ByVal Width As Long The width
ByVal Height As Long The height
ByVal GpColor1 As clsGpColor The first color
ByVal GpColor2 As clsGpColor The second color
ByVal mode As GpLinearGradientMode The linear mode
ByVal WrapMd As GpWrapMode The wrap method
Remarks