result = new Bitmap(width, height);
var grapihcs = Graphics.FromImage(result);
grapihcs.Clear(Color.White);
if (staticmapBitmap != null)
{
grapihcs.DrawImage(staticmapBitmap, 0, 0, staticmapBitmap.Width, staticmapBitmap.Height);
}
grapihcs.DrawImage(kpiBitmap, 0, 0, kpiBitmap.Width, kpiBitmap.Height);
if (thresholdBitmap != null)
{
grapihcs.DrawLine(Pens.Black, kpiBitmap.Width, 0, kpiBitmap.Width, kpiBitmap.Height);
grapihcs.DrawImage(thresholdBitmap, kpiBitmap.Width + 2, 2, thresholdBitmap.Width,
thresholdBitmap.Height);
} |