SmoothEvent event (Main Control)

Visual Basic Example
Visual C++ 4.0 example

Syntax void SmoothEvent (long nBumpOrNick, long nStartRow, long nStartCol, long nLength, long uHorV);

Overview:  Refer to Cleaning - up 1-Bit Images

Remarks

(Document/Medical) This event is triggered for each bump and nick found by the Smooth method. Set the DocCleanSuccess property to SUCCESS_REMOVE to have the bump removed or the nick filled. Set the DocCleanSuccess property to SUCCESS_NOREMOVE to leave the bump or nick unchanged. Set the DocCleanSuccess property to 0 to abort. If the uFlags parameter of the Smooth method is set to SMOOTH_IMAGE_UNCHANGED | SMOOTH_SINGLE_REGION, then the value of the DocCleanSuccess property affects only the internal single region.

See Also

Elements:  Smooth method

Topics:  Raster Images: Cleaning - up 1-Bit Images