Description This method will detect the punch holes of a scanned image automaticly and fill the holes with white color. The method works for only monochrome, 8 and 24 bit per pixel images.
Syntax RetVal = [BIDocImg.]AutoPunchHoleRemover hDib bShowProgress
Returns RetVal LONGLONG The handle of new DIB, or 0 if an error occurred.
Remarks hDib LONGLONG Handle of the image to remove punch holes.
bShowProgress Boolean If TRUE, a progress dialog will appear during removing punch holes.
See Also PunchHoleRemover Method