Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

COLORREPLACE

Show in webframe

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

The COLORREPLACE structure provides information about the replacement color for the L_ColorReplaceBitmap function.

Member

Description

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.