Fill example for Delphi
This example fills the bitmap with blue and repaints the image.
Lead1.Fill(RGB(0, 0, 255)); Lead1.ForceRepaint;