Image Viewer CP ActiveX Control

Contrast   

 

Add Contrast on image. Default is 100. You can input negative value.

Public Function Contrast( _
   ByVal iValue As Integer
)

 

Parameter

iValue 
   the value of contrast. (0-255)

No Return Value


Example

   

Visual Basic Syntax
ImageViewer1.FileName ="c:\1.jpg"
ImageViewer1.Contrast 150
ImageViewer1.Contrast -50