LineRemove event (ILEADRasterProcess)

Visual Basic Example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

void LineRemove (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 , if the EnableDocCleanEvents property has been set to TRUE before calling 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 , EnableDocCleanEvents property

Topics:

Raster Images: Cleaning - up 1-Bit Images