Unicode Controls & Classes for VB6 - Version 4
clsCommonWrapper
.SetColorLuminance Function
Sets the luminance to the given color and returns a new color
Syntax
Public Function SetColorLuminance (ByVal
lColor
As Long, _
ByVal
iNewLuminance
As Integer) As Long
Parameters
Parameter
Description
ByVal
lColor
As Long
The input color
ByVal
iNewLuminance
As Integer
The new luminance factor to apply (0..255)
Remarks