Image Viewer CP ActiveX Control

FocalBW

 

Add FocalBW effect on image.

Public Function FocalBW( _
   ByVal iRadius1 As Integer, _
   ByVal iRadius2 As Integer, _
   ByVal iX As Integer, _
   ByVal iY As Integer
)

 

Parameter

iRadius1 
   the radius of circle with center in point defined parameters X and Y.

iRadius2 
   the value of changing from no effect area to effect area.

iX 
   the x coordinate of point of center effect.

iY 
   the y coordinate of point of center effect.


No Return Value


Example

   

Visual Basic Syntax
ImageViewer1.FileName ="c:\1.jpg"
ImageViewer1.FocalBW 100 ,100, ImageViewer1.FileWidth/2 ,ImageViewer1.FileHeight/2