LinearGradientBrush b = new LinearGradientBrush(new RectangleGeometry(0, 0, bmpout.Width, bmpout.Height / 6F), color1, color2, LinearGradientMode.Vertical);
g.FillRectangle(b2, new Rectangle(0, Convert.ToInt32((double)bmp.Height / 6.0), bmp.Width, Convert.ToInt32((double)bmp.Height / 6.0)));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)