OnSmooth event (Main Control)
Builder Syntax |
void __fastcall OnSmooth (System::TObject* Sender, int nBumpOrNick, int nStartRow, int nStartCol, int nLength, int uHorV); |
Delphi Syntax |
procedure OnSmooth(Sender: TObject; nBumpOrNick, nStartRow, nStartCol, nLength, uHorV: longint) of object; |
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: |
|
Topics: |