|
Add monochrome effect on image.
Public Function Monochrome( _ ByVal iBrightness As Integer, _ ByVal clrColor1 As Color, _ ByVal clrColor2 As Color )
|
Parameter
iBrightness the value of brightness. (0-255)
clrColor1 the first color of monochrome image.
clrColor2 the second color of monochrome image.
No Return Value
Example
|
Visual Basic Syntax ImageViewer1.FileName ="c:\1.jpg" ImageViewer1.Monochrome 100 ,RGB(255,255,255), RGB(0,0,0)
|
|
|