COLORREPLACE (original) (raw)

Summary

The COLORREPLACE structure provides information about the replacement color.

Syntax

typedef struct _COLORREPLACE { [L_UINT](../../main/api/leadtools-basic-data-types.html) uStructSize; COLORREF crColor; [L_UINT](../../main/api/leadtools-basic-data-types.html) uFuzziness; } COLORREPLACE, * pCOLORREPLACE;

Members

uStructSize

Must contain the size of COLORREPLACE structure. Should be set to sizeof(COLORREPLACE).

crColor

The COLORREF value that specifies replaced colored value.

You can specify a COLORREF value, such as the return value of the Windows RGB macro, or you can use the PALETTEINDEX macro to specify a palette color.

uFuzziness

Value to be used in designating the + or - range of the color being replaced. This must be a nonzero value.

Usage

LEADTOOLS Raster Imaging C++ Class Library Help