Punch example for Delphi

procedure TForm1.PunchClick(Sender: TObject);
var
   ptCenter: TPoint;
begin
   ptCenter.x:= Trunc(LEADImage1.BitmapWidth /2);
   ptCenter.y:= Trunc(LEADImage1.BitmapHeight /2);

   LEADImage1.Punch( 100, 100, ptCenter, 0, FILL_RPT Or FILL_WOUTROT );
end;