ConvertToMonochromeDIB   Method

Description         This method converts a color DIB to a device independent monochrome bitmap. It uses halftoning with the Line Art method.

Syntax                 lRet = [BiDib.]ConvertToMonochromeDIB  hDIB nIntControl

Remarks             lRet                         LONGLONG Handle to the newly created DIB. 0 on error.

                            hDib                       LONGLONG Handle to a DIB to be converted.

                            nIntControl           Short               Determines the intensity of the halftoned bitmap. This value must be between -127 and +127. The default value is zero.

 

This method does not delete the original bitmap.

See Also