LineRemoveEvent event (Main Control)

Visual Basic Example
Visual C++ 4.0 example

Syntax void LineRemoveEvent (long nStartRow, long nStartCol, long nLength, OLE_HANDLE hRgnLine);

Overview:  Refer to Cleaning - up 1-Bit Images

Remarks

(Document/Medical) This event is triggered for each line found by the LineRemove method. Set the DocCleanSuccess property to SUCCESS_REMOVE to have the line removed. Set the DocCleanSuccess property to SUCCESS_NOREMOVE to leave the line unchanged. Set the DocCleanSuccess property to 0 to abort. If the uFlags parameter of the LineRemove method is set to LINE_IMAGE_UNCHANGED | LINE_SINGLE_REGION, then the value of the DocCleanSuccess property affects only the internal single region that contains all changes.

Note: hRgnLine is only valid during this event. To use the hRgnLine after the event has terminated, make a copy of it using the SetBitmapRgnHandle method.

See Also

Elements:  LineRemove method

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