ClientToBitmap example for C++ Builder

   float BitmapX;
   float BitmapY;

   BitmapX= x;
   BitmapY= y;
   LEADRasterView1->ClientToBitmap (BitmapX, BitmapY);
   //Change that pixel to White
   LEADRasterView1->Raster->set_Pixel (LEADRasterView1->ConvertX, LEADRasterView1->ConvertY, (TColor)RGB(255, 255, 255));