Unicode Controls & Classes for VB6 - Version 4

clsGpBrush.CreateLinearBrushFromRect_RawColor Function

Creates a linear brush

Syntax
Public Function CreateLinearBrushFromRect_RawColor (ByVal Left As Long, _
ByVal Top As Long, _
ByVal Width As Long, _
ByVal Height As Long, _
ByVal ARGB1 As Long, _
ByVal ARGB2 As Long, _
ByVal mode As GpLinearGradientMode, _
Optional ByVal WrapMd As GpWrapMode = WrapModeTile) 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 ARGB1 As Long The first color in ARGB format (use the [clsGpSession] class for conversion functions)
ByVal ARGB2 As Long The second color in ARGB format (use the [clsGpSession] class for conversion functions)
ByVal mode As GpLinearGradientMode The linear mode
Optional ByVal WrapMd As GpWrapMode = WrapModeTile The wrap method
Remarks