Image Viewer CP ActiveX Control

Noise

 

Add Noise effect on image.

Public Function Noise( _
   ByVal iValue As Integer, _
   ByVal iType As Integer, _
)

 

Parameter

iValue 
   the value of noise.

iType 
  the type of noise
   0 -grayscale noise
   1 -color noise



No Return Value


Example

   

Visual Basic Syntax
ImageViewer1.FileName ="c:\1.jpg"
ImageViewer1.Noise 100 ,1