Flip example for Delphi
This example flips the bitmap and repaints the image.
Lead1.Flip; Lead1.ForceRepaint;