COLORREPLACE

typedef struct _COLORREPLACE 
{ 
   L_UINT uStructSize; 
   COLORREF crColor; 
   L_UINT uFuzziness; 
} COLORREPLACE, * pCOLORREPLACE; 

The COLORREPLACE structure provides information about the replacement color for the LBitmap::ColorReplace function.

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.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.