Description The CleanImage method cleans the image specified by the hDib parameter. This method works only for monochrome and 8 bits per pixel grayscale images. If the bSlow parameter is TRUE, the CleanImage method scans every pixel of the image, if FALSE, only a certain number of pixels. The percent parameter is no less than 20 and no more than 100. This parameter shows the method how many adjacent pixels to examine around the current pixel.
Syntax RetVal = [BIDocImg.]CleanImage hDib percent bSlow
Returns RetVal LONGLONG The cleaned image. 0 if an error occurred.
Remarks hDib LONGLONG Device indipendent bitmap to clean.
percent Short 20 <= percent <= 100
bSlow BOOL If true, the CleanImage method examines every pixel, otherwise the specified pixels.
See Also