It may be that you need to call Flush
on the Graphics
instance, i.e.:
graphic.Flush();
Do this when you've finished all the drawing operations, before you emit the stream from the bitmap.
Daniel Earwicker
2009-06-30 06:22:01