GrayScaleToDuotone example for C++ Builder
void __fastcall TForm1::GrayScaleToDuotone1Click(TObject *Sender)
{
/* Change the bitmap to grayscale bitmap */
LEADImage1->GrayScale( 8 );
/* Apply duotone conversion */
LEADImage1->GrayScaleToDuotone( NULL, RGB(255, 0, 0), DT_REPLACE );
}