REPLACECOLOR

Delphi Syntax:

REPLACECOLOR= Packed Record
   crColor: COLORREF;
   uFuzziness: L_UINT;
end;

C++ Builder Syntax:

struct REPLACECOLOR
{
  COLORREF crColor;
   unsigned uFuzziness;
};

The REPLACECOLOR record (structure) contains information about the replacement color for the ColorReplace method.

Member

Description

crColor

The COLORREF value that specifies the replaced color. You can specify a COLORREF value, such as the return value of the Windows RGB macro.

uFuzziness

Value that indicates the acceptable variance of the color being replaced. This value indicates how close the pixel value must be to the value in crColor in order to be replaced. This must be a nonzero value.